1
0
Fork 0
mirror of https://github.com/ItsDrike/nixdots synced 2025-02-22 02:09:02 +00:00
nixdots/system/shared/hardware/cpu/amd.nix

10 lines
162 B
Nix
Raw Normal View History

2024-03-21 21:47:25 +01:00
{ config, lib, ... }:
let
dev = config.myOptions.device;
in
{
2024-03-23 21:35:29 +01:00
config = lib.mkIf (dev.cpu.type == "amd") {
2024-03-21 21:47:25 +01:00
hardware.cpu.amd.updateMicrocode = true;
};
}