more config for pleniscenta with luks

This commit is contained in:
twoneis 2024-06-02 17:31:34 +02:00
parent 4cd0433466
commit acc34593af

View file

@ -3,6 +3,7 @@
initrd = {
availableKernelModules = [ "ahci" "xhci_pci" "ums_realtek" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
kernelModules = [ ];
luks.devices.cryptroot.device = "/dev/disk/by-uuid/XXXX-XXXX";
};
kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ];
@ -14,20 +15,22 @@
fsType = "vfat";
};
"/" = {
device = "/dev/disk/by-uuid/4bd7389a-464c-4bd1-b515-7f578400d4ea";
device = "/dev/disk/by-uuid/";
fsType = "btrfs";
options = [ "subvol=root" "compress=zstd" "noatime" ];
};
"/nix" = {
device = "/dev/disk/by-uuid/4bd7389a-464c-4bd1-b515-7f578400d4ea";
fsType = "btrfs";
options = [ "subvol=nix" "compress=zstd" "noatime" ];
};
"/persist" = {
device = "/dev/disk/by-uuid/4bd7389a-464c-4bd1-b515-7f578400d4ea";
fsType = "btrfs";
options = [ "subvol=persist" "compress=zstd" "noatime" ];
};
"/swap" = {
fsType = "btrfs";
options = [ "subvol=swap" "noatime" ];
};
};
swapDevices = [ { device = "/swap/swapfile"; } ];