nixos/hosts/radix-balthica.nix
2022-09-23 12:23:03 +02:00

31 lines
738 B
Nix

{
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")
];
config = {
networking.hostName = "radix-balthica";
networking.networkmanager.enable = true;
networking.wireless.enable = false;
networking.firewall.enable = false;
settings.ssh.openOutsideVPN = true;
# === Make sure ZFS works ===
# TODO: Update and think of some automatic way of keeping this up to date.
boot.kernelPackages = pkgs.linuxPackages_5_15;
users.users.nixos.openssh.authorizedKeys.keyFiles = [../users/malte/yubikey.pub];
environment.systemPackages = with pkgs; [
# For special computers
chntpw
# For testing
geekbench
];
};
}