need a newline in extraModprobeConfig

This commit is contained in:
Jack Cummings 2013-03-11 02:02:10 -07:00
parent 415ff3c39a
commit 60e408dd6b

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 {