zaphyra's git: nixfiles

zaphyra's nixfiles

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
{
  config,
  lib,
  ...
}:

{

  options.common.profiles.intelCpu.enable = lib.mkEnableOption "intel-cpu profile";

  config = lib.mkIf config.common.profiles.intelCpu.enable {
    boot.initrd.kernelModules = [ "kvm-intel" ];

    hardware.cpu.intel.updateMicrocode = true;
  };

}