add supported filesystems

This commit is contained in:
Adithya 2024-06-20 13:51:00 +05:30
parent e5786d1cdf
commit a68fbfe71e
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C

View file

@ -5,17 +5,20 @@
imports = [ ./kernel.nix ./filesystem.nix ]; imports = [ ./kernel.nix ./filesystem.nix ];
boot = { boot = {
initrd.luks.devices = { initrd = {
luks0 = { luks.devices = {
allowDiscards = true; luks0 = {
bypassWorkqueues = true; allowDiscards = true;
device = "/dev/disk/by-partlabel/CRYPT"; bypassWorkqueues = true;
preLVM = true; device = "/dev/disk/by-partlabel/CRYPT";
preLVM = true;
};
}; };
supportedFilesystems = [ "vfat" "btrfs" ];
}; };
loader.efi.canTouchEfiVariables = true; loader.efi.canTouchEfiVariables = true;
resumeDevice = "/dev/vg0/swap"; resumeDevice = "/dev/vg0/swap";
supportedFilesystems = [ "btrfs" ]; supportedFilesystems = [ "vfat" "ntfs" "exfat" "ext4" "btrfs" ];
}; };
swapDevices = [{ device = "/dev/vg0/swap"; }]; swapDevices = [{ device = "/dev/vg0/swap"; }];