mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-14 04:37:17 +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;
|
||
|
};
|
||
|
}
|