2022-12-04 13:45:43 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
2023-09-18 03:56:58 +01:00
|
|
|
}: let
|
|
|
|
inherit (lib.modules) mkIf;
|
|
|
|
in {
|
2021-12-20 23:48:26 +00:00
|
|
|
hardware.enableRedistributableFirmware = true;
|
2021-12-21 16:22:00 +00:00
|
|
|
hardware.enableAllFirmware = true;
|
2022-01-16 11:22:44 +00:00
|
|
|
hardware.cpu.intel.updateMicrocode =
|
2023-09-18 03:56:58 +01:00
|
|
|
mkIf ("${pkgs.system}" == "x86_64-linux") true;
|
2022-01-16 11:22:44 +00:00
|
|
|
hardware.cpu.amd.updateMicrocode =
|
2023-09-18 03:56:58 +01:00
|
|
|
mkIf ("${pkgs.system}" == "x86_64-linux") true;
|
2021-12-21 16:22:00 +00:00
|
|
|
hardware.wirelessRegulatoryDatabase = true;
|
2021-12-20 23:48:26 +00:00
|
|
|
}
|