mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-10 08:19:42 +00:00
10 lines
166 B
Nix
10 lines
166 B
Nix
{ config, lib, ... }:
|
|
let
|
|
dev = config.myOptions.device;
|
|
in
|
|
{
|
|
config = lib.mkIf (dev.cpu.type == "intel") {
|
|
hardware.cpu.intel.updateMicrocode = true;
|
|
};
|
|
}
|