Don't set the firmware path in 3 different places

This commit is contained in:
Eelco Dolstra 2013-03-27 13:56:36 +01:00
parent c52cb9bb65
commit 8b9216fdcb

View File

@ -228,10 +228,6 @@ in
(isYes "NET")
];
boot.extraKernelParams = [ "firmware_class.path=${config.hardware.firmware}" ];
boot.extraModprobeConfig = "options firmware_class path=${config.hardware.firmware}";
system.activationScripts."set-firmware-path" =
"echo -n ${config.hardware.firmware} 2>/dev/null > /sys/module/firmware_class/parameters/path";
};