mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 22:00:42 +00:00
Don't represent vm status via cpu type
This commit is contained in:
parent
ae1def6432
commit
1c1e0abbd6
4 changed files with 13 additions and 5 deletions
|
@ -3,7 +3,7 @@ let
|
|||
dev = config.myOptions.device;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf (builtins.elem dev.cpu.type [ "amd" "vm-amd" ]) {
|
||||
config = lib.mkIf (dev.cpu.type == "amd") {
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ let
|
|||
dev = config.myOptions.device;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf (builtins.elem dev.cpu.type [ "intel" "vm-intel" ]) {
|
||||
config = lib.mkIf (dev.cpu.type == "intel") {
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue