Load the xfs kernel module on demand

This commit is contained in:
Eelco Dolstra 2013-10-13 17:18:42 +02:00
parent 9b8847eb91
commit 3e001244e4

View File

@ -13,7 +13,7 @@ in
system.fsPackages = [ pkgs.xfsprogs ];
boot.initrd.kernelModules = mkIf inInitrd [ "xfs" "crc32c" ];
boot.initrd.availableKernelModules = mkIf inInitrd [ "xfs" "crc32c" ];
boot.initrd.extraUtilsCommands = mkIf inInitrd
''