diff --git a/nix/nixos-modules/hwCommon.nix b/nix/nixos-modules/hwCommon.nix index 681b86d..e57f52c 100644 --- a/nix/nixos-modules/hwCommon.nix +++ b/nix/nixos-modules/hwCommon.nix @@ -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 };