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

22 lines
404 B
Nix

{
config,
nixos-config,
lib,
...
}: {
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
];
};
isInstaller = true;
}