32 lines
746 B
Nix
32 lines
746 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
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 ===
|
|
# Source: https://nixos.wiki/wiki/ZFS
|
|
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
|
|
|
users.users.nixos.openssh.authorizedKeys.keyFiles = [../../secrets/pub/yubikey.pub];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
# For special computers
|
|
chntpw
|
|
# For testing
|
|
# geekbench
|
|
];
|
|
};
|
|
}
|