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,7 +5,8 @@
imports = [ ./kernel.nix ./filesystem.nix ]; imports = [ ./kernel.nix ./filesystem.nix ];
boot = { boot = {
initrd.luks.devices = { initrd = {
luks.devices = {
luks0 = { luks0 = {
allowDiscards = true; allowDiscards = true;
bypassWorkqueues = true; bypassWorkqueues = true;
@ -13,9 +14,11 @@
preLVM = true; 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"; }];