All checks were successful
Check Flake / check-flake (push) Successful in 1m21s
19 lines
327 B
Nix
19 lines
327 B
Nix
{ lib, config, ... }:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.firmware;
|
|
in
|
|
{
|
|
options.firmware.x86_64 = {
|
|
enable = mkEnableOption "enable x86_64 firmware";
|
|
};
|
|
|
|
config = mkIf cfg.x86_64.enable {
|
|
hardware.cpu.intel.updateMicrocode = true;
|
|
hardware.cpu.amd.updateMicrocode = true;
|
|
};
|
|
|
|
# services.fwupd.enable = true;
|
|
}
|