nixos-config/modules/pixiecore/installer.nix

28 lines
533 B
Nix
Raw Normal View History

2024-01-02 22:40:43 +01:00
{ nixosSystem }:
nixosSystem {
system = "x86_64-linux";
modules = [
({ config, modulesPath, ... }: {
imports = [
"${modulesPath}/installer/netboot/netboot-minimal.nix"
../../users/root
];
config = {
services.openssh = {
enable = true;
openFirewall = true;
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
system.stateVersion = "24.05";
};
})
];
}