mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-14 04:37:17 +00:00
10 lines
186 B
Nix
10 lines
186 B
Nix
{ config, lib, ... }:
|
|
let
|
|
dev = config.myOptions.device;
|
|
in
|
|
{
|
|
config = lib.mkIf (builtins.elem dev.cpu.type [ "amd" "vm-amd" ]) {
|
|
hardware.cpu.amd.updateMicrocode = true;
|
|
};
|
|
}
|