Load the xfs kernel module on demand
This commit is contained in:
parent
9b8847eb91
commit
3e001244e4
@ -13,7 +13,7 @@ in
|
|||||||
|
|
||||||
system.fsPackages = [ pkgs.xfsprogs ];
|
system.fsPackages = [ pkgs.xfsprogs ];
|
||||||
|
|
||||||
boot.initrd.kernelModules = mkIf inInitrd [ "xfs" "crc32c" ];
|
boot.initrd.availableKernelModules = mkIf inInitrd [ "xfs" "crc32c" ];
|
||||||
|
|
||||||
boot.initrd.extraUtilsCommands = mkIf inInitrd
|
boot.initrd.extraUtilsCommands = mkIf inInitrd
|
||||||
''
|
''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user