Get firmware from lib/firmware
This commit is contained in:
parent
17457297cb
commit
25bd880472
@ -20,7 +20,7 @@
|
||||
###### implementation
|
||||
|
||||
config = pkgs.lib.mkIf config.hardware.enableAllFirmware {
|
||||
hardware.firmware = [ pkgs.firmwareLinuxNonfree ];
|
||||
hardware.firmware = [ "${pkgs.firmwareLinuxNonfree}/lib/firmware" ];
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ with pkgs.lib;
|
||||
###### implementation
|
||||
|
||||
config = mkIf config.hardware.cpu.amd.updateMicrocode {
|
||||
hardware.firmware = [ pkgs.amdUcode ];
|
||||
hardware.firmware = [ "${pkgs.amdUcode}/lib/firmware" ];
|
||||
boot.kernelModules = [ "microcode" ];
|
||||
};
|
||||
|
||||
|
@ -22,7 +22,7 @@ with pkgs.lib;
|
||||
###### implementation
|
||||
|
||||
config = mkIf config.hardware.cpu.intel.updateMicrocode {
|
||||
hardware.firmware = [ pkgs.microcodeIntel ];
|
||||
hardware.firmware = [ "${pkgs.microcodeIntel}/lib/firmware" ];
|
||||
boot.kernelModules = [ "microcode" ];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user