mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-14 04:37:17 +00:00
17 lines
482 B
Nix
17 lines
482 B
Nix
|
{ lib, ... }: with lib; let
|
||
|
in
|
||
|
{
|
||
|
options.myOptions.device = {
|
||
|
cpu.type = mkOption {
|
||
|
type = with types; nullOr (enum [ "intel" "vm-intel" "amd" "vm-amd" ]);
|
||
|
default = null;
|
||
|
description = ''
|
||
|
The manifaturer/type of the primary system CPU.
|
||
|
|
||
|
Determines which ucode services will be enabled and provides additional kernel packages.
|
||
|
If running in a virtual machine with forwarded/shared cores, use the `vm-` prefix.
|
||
|
'';
|
||
|
};
|
||
|
};
|
||
|
}
|