Merge pull request #119 from jcumming/zfs.130311
need a newline in extraModprobeConfig
This commit is contained in:
commit
7abc36c145
@ -43,7 +43,9 @@ in
|
|||||||
boot = {
|
boot = {
|
||||||
kernelModules = [ "spl" "zfs" ] ;
|
kernelModules = [ "spl" "zfs" ] ;
|
||||||
extraModulePackages = [ kernel.zfs kernel.spl ];
|
extraModulePackages = [ kernel.zfs kernel.spl ];
|
||||||
extraModprobeConfig = mkIf (cfgSpl.hostid != "") "options spl spl_hostid=${cfgSpl.hostid}";
|
extraModprobeConfig = mkIf (cfgSpl.hostid != "") ''
|
||||||
|
options spl spl_hostid=${cfgSpl.hostid}
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.initrd = mkIf inInitrd {
|
boot.initrd = mkIf inInitrd {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user