feat: impermanence tuning for nbl

This commit is contained in:
Swarsel 2024-08-12 08:31:28 +02:00
parent 4cfdf7e1b2
commit f02873ecd9
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
5 changed files with 20 additions and 13 deletions

View file

@ -9,10 +9,15 @@
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "cryptd" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
boot.initrd.luks.devices."cryptroot" = {
# improve performance on ssds
bypassWorkqueues = true;
preLVM = true;
};
# fileSystems."/" =
# {