Merge pull request #119 from jcumming/zfs.130311
need a newline in extraModprobeConfig
This commit is contained in:
commit
7abc36c145
1 changed files with 3 additions and 1 deletions
|
@ -43,7 +43,9 @@ in
|
|||
boot = {
|
||||
kernelModules = [ "spl" "zfs" ] ;
|
||||
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 {
|
||||
|
|
Loading…
Reference in a new issue