nixos-config/modules/cpu/intel.nix

12 lines
236 B
Nix
Raw Normal View History

2020-12-05 16:00:34 +01:00
{ config, lib, ... }:
let
cfg = config.sbruder.cpu.intel;
in
2020-10-16 21:26:57 +02:00
{
2020-12-05 16:00:34 +01:00
options.sbruder.cpu.intel.enable = lib.mkEnableOption "intel cpu configuration";
config = lib.mkIf cfg.enable {
hardware.cpu.intel.updateMicrocode = true;
};
2020-10-16 21:26:57 +02:00
}