Need extraModulePackages for spl and zfs modules.

This commit is contained in:
Jack Cummings 2012-12-04 11:28:05 -08:00
parent a832ce7be1
commit d2789791ee

View file

@ -14,9 +14,10 @@ in
config = mkIf (any (fs: fs == "zfs") config.boot.supportedFilesystems) {
boot.kernelModules = [ "spl" "zavl" "zcommon" "zfs" "zlib_deflate" "znvpair" "zunicode" ] ;
boot.kernelModules = [ "spl" "zfs" ] ;
boot.extraModulePackages = [ kernel.zfs kernel.spl ];
boot.initrd.kernelModules = mkIf inInitrd [ "spl" "zavl" "zcommon" "zfs" "zlib_deflate" "znvpair" "zunicode" ] ;
boot.initrd.kernelModules = mkIf inInitrd [ "spl" "zfs" ] ;
boot.initrd.extraUtilsCommands = mkIf inInitrd
''