1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2024-02-26 19:27:27 +01:00
parent 1f7771ec3f
commit 550ce08e41
7 changed files with 36 additions and 28 deletions

View file

@ -10,24 +10,18 @@
inputs.hardware.nixosModules.common-gpu-intel
inputs.hardware.nixosModules.common-pc-ssd
./backup.nix
./blocky.nix
# ./backup.nix
# ./blocky.nix
];
nixpkgs.hostPlatform = "x86_64-linux";
boot = {
initrd.availableKernelModules = ["ahci" "xhci_pci" "usbhid" "usb_storage" "sd_mod"];
initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
kernelModules = ["kvm-intel"];
};
system.stateVersion = "24.05";
powerManagement.cpuFreqGovernor = "performance";
fileSystems."/srv/storage" = {
device = "/dev/disk/by-label/storage";
fsType = "btrfs";
options = ["subvol=main" "compress=zstd" "noatime"];
};
powerManagement.cpuFreqGovernor = "powersave";
}