2021-11-17 11:39:34 +01:00
|
|
|
{ pkgs, config, ... }:
|
|
|
|
|
|
|
|
{
|
2022-04-10 13:59:39 +02:00
|
|
|
|
|
|
|
nix = {
|
|
|
|
package = pkgs.nixUnstable; # or versioned attributes like nix_2_4
|
|
|
|
extraOptions = ''
|
|
|
|
experimental-features = nix-command flakes
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2021-11-17 11:39:34 +01:00
|
|
|
# Select internationalisation properties.
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
console = {
|
|
|
|
#font = "Lat2-Terminus16";
|
|
|
|
font = "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz";
|
|
|
|
keyMap = pkgs.lib.mkForce "uk";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Enable the OpenSSH daemon.
|
|
|
|
services.openssh.enable = true;
|
|
|
|
|
|
|
|
# set root ssh keys
|
|
|
|
users.users.root.openssh.authorizedKeys = {
|
|
|
|
keys = [
|
|
|
|
# RSA keys go into keyFiles because they're shamefully long
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPS8xkNH7JvKblekx5oel4HVKCz3uBbQYEaR9Z9nzTAr manuel@ifsr.de"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINogGKyXieCXQvVTa1z3ArS1TlqcVl2sSqvMpOjQo/Um jakob@krbs.me"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICjNYNRBsY/Dc+/XOaGDui9tRa4VGPsHwYo3irGnMRbR felix@tycho"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDdOcXORg+akeN2t3yZlKWdoTURKxtV29eQ7UrIMkCHv felix@entropy"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH73n+ZfJqNzIh9rPh6JYQaI4OAw9WKkPeqj2XRFmRfQ pascal@ifsr.de"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAmb1kv+7HU1QKE53+gNxUhrggbwomC40Xjxd9hACkoo bennofs@d-cube"
|
|
|
|
];
|
|
|
|
keyFiles = [
|
|
|
|
./keys/marcus-sapphire
|
|
|
|
./keys/schrader
|
|
|
|
./keys/jannusch
|
|
|
|
./keys/jannusch-arch
|
2022-03-04 17:42:40 +01:00
|
|
|
./keys/tassilo
|
2021-11-17 11:39:34 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2022-04-10 13:59:39 +02:00
|
|
|
time.timeZone = "Europe/Berlin";
|
2021-11-17 11:39:34 +01:00
|
|
|
|
|
|
|
# basic shell & editor
|
|
|
|
programs.fish.enable = true;
|
|
|
|
programs.vim.defaultEditor = true;
|
|
|
|
|
|
|
|
# List packages installed in system profile. To search, run:
|
|
|
|
# $ nix search wget
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
atop
|
|
|
|
bat
|
|
|
|
git
|
|
|
|
htop
|
|
|
|
ripgrep
|
|
|
|
tldr
|
|
|
|
tmux
|
|
|
|
usbutils
|
|
|
|
wget
|
2022-03-05 15:02:17 +01:00
|
|
|
neovim
|
2021-11-17 11:39:34 +01:00
|
|
|
];
|
|
|
|
}
|
|
|
|
|