hardware: add cpu cores option
This commit is contained in:
parent
4191eb50bf
commit
f020ae8902
2 changed files with 9 additions and 2 deletions
|
|
@ -1,7 +1,10 @@
|
||||||
{
|
{
|
||||||
ooknet.hardware = {
|
ooknet.hardware = {
|
||||||
cpu.type = "amd";
|
cpu = {
|
||||||
cpu.amd.pstate.enable = true;
|
type = "amd";
|
||||||
|
amd.pstate.enable = true;
|
||||||
|
cores = 16;
|
||||||
|
};
|
||||||
gpu.type = "amd";
|
gpu.type = "amd";
|
||||||
features = ["printing" "ssd" "audio" "video"];
|
features = ["printing" "ssd" "audio" "video"];
|
||||||
monitors = [
|
monitors = [
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,10 @@ in {
|
||||||
default = null;
|
default = null;
|
||||||
};
|
};
|
||||||
amd.pstate.enable = mkEnableOption "";
|
amd.pstate.enable = mkEnableOption "";
|
||||||
|
cores = {
|
||||||
|
type = int;
|
||||||
|
description = "Number of Physical CPU cores the system has";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
features = mkOption {
|
features = mkOption {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue