add supported filesystems
This commit is contained in:
parent
e5786d1cdf
commit
a68fbfe71e
1 changed files with 10 additions and 7 deletions
|
@ -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"; }];
|
||||||
|
|
Loading…
Reference in a new issue