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