blob: 26d9877b9155a4306f80e059c562dd2f04530410 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{ config, lib, ... }:
let cfg = config.my.hardware.intel;
in
{
options.my.hardware.intel = with lib; {
enable = mkEnableOption "intel related configuration";
};
config = lib.mkIf cfg.enable {
# Enable microcode update
hardware.cpu.intel.updateMicrocode = true;
boot.kernelModules = [ "kvm-intel" ];
};
}
|