Need extraModulePackages for spl and zfs modules.
This commit is contained in:
parent
a832ce7be1
commit
d2789791ee
@ -14,9 +14,10 @@ in
|
|||||||
|
|
||||||
config = mkIf (any (fs: fs == "zfs") config.boot.supportedFilesystems) {
|
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
|
boot.initrd.extraUtilsCommands = mkIf inInitrd
|
||||||
''
|
''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user