mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-28 18:34:34 +00:00
10 lines
192 B
Nix
10 lines
192 B
Nix
|
{ config, lib, ... }:
|
||
|
let
|
||
|
dev = config.myOptions.device;
|
||
|
in
|
||
|
{
|
||
|
config = lib.mkIf (builtins.elem dev.cpu.type [ "intel" "vm-intel" ]) {
|
||
|
hardware.cpu.intel.updateMicrocode = true;
|
||
|
};
|
||
|
}
|