nixos-config/machine/pc-installer/default.nix

20 lines
375 B
Nix

{
config,
nixos-config,
...
}: {
networking.hostName = "pc-installer";
imports = [
"${nixos-config}/config"
./disko.nix
./grub.nix
./hardware.nix
"${nixos-config}/config/networkmanager.nix"
];
system.stateVersion = config.system.nixos.version;
specialisation.graphical = {
configuration.imports = [
./graphical.nix
];
};
}