mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-10 06:59:41 +00:00
12 lines
168 B
Nix
12 lines
168 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
dev = config.myOptions.device;
|
|
in {
|
|
config = lib.mkIf (dev.cpu.type == "amd") {
|
|
hardware.cpu.amd.updateMicrocode = true;
|
|
};
|
|
}
|