puter/hosts/vessel/default.nix

30 lines
639 B
Nix
Raw Normal View History

2024-02-04 20:51:11 +00:00
{
inputs,
modulesPath,
...
}: {
imports = [
2024-04-13 18:41:18 +00:00
"${modulesPath}/installer/scan/not-detected.nix"
2024-02-04 20:51:11 +00:00
inputs.hardware.nixosModules.common-cpu-intel
inputs.hardware.nixosModules.common-gpu-intel
inputs.hardware.nixosModules.common-pc-ssd
2024-02-27 20:36:52 +00:00
./backup.nix
./blocky.nix
2024-02-04 20:51:11 +00:00
];
nixpkgs.hostPlatform = "x86_64-linux";
boot = {
2024-02-26 18:27:27 +00:00
initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
2024-02-04 20:51:11 +00:00
kernelModules = ["kvm-intel"];
};
system.stateVersion = "24.05";
2024-02-26 18:27:27 +00:00
powerManagement.cpuFreqGovernor = "powersave";
2024-02-27 19:27:45 +00:00
environment.persistence."/persist".directories = ["/srv/storage"];
2024-02-04 20:51:11 +00:00
}