blob: 9a53f357dfb09e5afcccfbfa7d1aa6bd1470dffd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{ 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" ];
};
}
|