nixos-modules: allow hardware.cpu.type to be set to null

secrix-issue25
Felix Stupp 3 months ago
parent 29e0b383ab
commit 1290388956
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -21,7 +21,10 @@ in
description = ''
Configures the CPU type to expect this configuration to run on
'';
type = lib.types.enum [ "amd" "intel" ];
type = with lib.types; nullOr enum [
"amd"
"intel"
];
# required
};

Loading…
Cancel
Save