diff --git a/hosts/ooksdesk/hardware.nix b/hosts/ooksdesk/hardware.nix index 173a4b3..703abeb 100644 --- a/hosts/ooksdesk/hardware.nix +++ b/hosts/ooksdesk/hardware.nix @@ -1,7 +1,10 @@ { ooknet.hardware = { - cpu.type = "amd"; - cpu.amd.pstate.enable = true; + cpu = { + type = "amd"; + amd.pstate.enable = true; + cores = 16; + }; gpu.type = "amd"; features = ["printing" "ssd" "audio" "video"]; monitors = [ diff --git a/modules/nixos/hardware/options.nix b/modules/nixos/hardware/options.nix index 57aaece..44a4a36 100644 --- a/modules/nixos/hardware/options.nix +++ b/modules/nixos/hardware/options.nix @@ -21,6 +21,10 @@ in { default = null; }; amd.pstate.enable = mkEnableOption ""; + cores = { + type = int; + description = "Number of Physical CPU cores the system has"; + }; }; features = mkOption {