Don't set the firmware path in 3 different places
This commit is contained in:
parent
c52cb9bb65
commit
8b9216fdcb
@ -228,10 +228,6 @@ in
|
|||||||
(isYes "NET")
|
(isYes "NET")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.extraKernelParams = [ "firmware_class.path=${config.hardware.firmware}" ];
|
|
||||||
|
|
||||||
boot.extraModprobeConfig = "options firmware_class path=${config.hardware.firmware}";
|
|
||||||
|
|
||||||
system.activationScripts."set-firmware-path" =
|
system.activationScripts."set-firmware-path" =
|
||||||
"echo -n ${config.hardware.firmware} 2>/dev/null > /sys/module/firmware_class/parameters/path";
|
"echo -n ${config.hardware.firmware} 2>/dev/null > /sys/module/firmware_class/parameters/path";
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user