Merge pull request #119 from jcumming/zfs.130311

need a newline in extraModprobeConfig
This commit is contained in:
Peter Simons 2013-03-11 09:30:52 -07:00
commit 7abc36c145

View file

@ -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 {