42 lines
810 B
Nix
42 lines
810 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
inputs,
|
|
systemProfiles,
|
|
specialArgs,
|
|
self,
|
|
...
|
|
}: {
|
|
imports =
|
|
[
|
|
"${inputs.nixpkgs}/nixos/modules/profiles/qemu-guest.nix"
|
|
inputs.impermanence.nixosModules.impermanence
|
|
inputs.disko.nixosModules.disko
|
|
./disk-config.nix
|
|
]
|
|
++ (map (x: systemProfiles + x) [
|
|
/core/security.nix
|
|
/core/tools.nix
|
|
/core/ssh.nix
|
|
/core/deploy.nix
|
|
|
|
/nix/default.nix
|
|
|
|
/network/tailscale.nix
|
|
/network/networkd.nix
|
|
]);
|
|
|
|
boot.loader.grub = {
|
|
efiSupport = true;
|
|
efiInstallAsRemovable = true;
|
|
};
|
|
|
|
hardware.enableRedistributableFirmware = true;
|
|
|
|
environment.persistence."/persist".enable = false;
|
|
|
|
networking.hostName = "rackserv";
|
|
|
|
nixpkgs.hostPlatform.system = "x86_64-linux";
|
|
system.stateVersion = "25.05";
|
|
}
|