OOKNET                             [ /  search the index  ]  
──────────────────────────────────────────────────────────────────────────────────────
══════════════════════════════════════════════════════════════════════════════════════
OOKNET   [ /  search  ]  
────────────────────────────────────────────────
════════════════════════════════════════════════
 
HASH      b21713c6d00c
DATE      2025-05-19
SUBJECT   hardware: cpu options fix
FILES     4 CHANGED
HASH      b21713c6d00c
DATE      2025-05-19
SUBJECT   hardware: cpu options fix
FILES     4 CHANGED
 

diff --git a/hosts/ooksdesk/hardware.nix b/hosts/ooksdesk/hardware.nix
index 64fa886..1b1fbfe 100644
--- a/hosts/ooksdesk/hardware.nix
+++ b/hosts/ooksdesk/hardware.nix
@@ -3,7 +3,6 @@
     cpu = {
       type = "amd";
       amd.pstate.enable = true;
-      cores = 16;
     };
     gpu = {
       type = "amd";

diff --git a/hosts/ooksdesk/hardware.nix b/h
osts/ooksdesk/hardware.nix
index 64fa886..1b1fbfe 100644
--- a/hosts/ooksdesk/hardware.nix
+++ b/hosts/ooksdesk/hardware.nix
@@ -3,7 +3,6 @@
     cpu = {
       type = "amd";
       amd.pstate.enable = true;
-      cores = 16;
     };
     gpu = {
       type = "amd";
 

diff --git a/modules/nixos/hardware/cpu/default.nix b/modules/nixos/hardware/cpu/d
efault.nix
index b0acb52..d126fb9 100644
--- a/modules/nixos/hardware/cpu/default.nix
+++ b/modules/nixos/hardware/cpu/default.nix
@@ -2,5 +2,6 @@
   imports = [
     ./amd.nix
     ./intel.nix
+    ./options.nix
   ];
 }

diff --git a/modules/nixos/hardware/cpu/defa
ult.nix b/modules/nixos/hardware/cpu/default
.nix
index b0acb52..d126fb9 100644
--- a/modules/nixos/hardware/cpu/default.nix
+++ b/modules/nixos/hardware/cpu/default.nix
@@ -2,5 +2,6 @@
   imports = [
     ./amd.nix
     ./intel.nix
+    ./options.nix
   ];
 }
 

diff --git a/modules/nixos/hardware/cpu/options.nix b/modules/nixos/hardware/cpu/o
ptions.nix
index ce1356f..679a6a7 100644
--- a/modules/nixos/hardware/cpu/options.nix
+++ b/modules/nixos/hardware/cpu/options.nix
@@ -15,7 +15,7 @@
   in
     microArchMapping.${vendor}.${family}.${model} or null;
 in {
-  cpu = {
+  options.ooknet.hardware.cpu = {
     type = mkOption {
       type = nullOr (enum ["intel" "amd"]);
       default = null;

diff --git a/modules/nixos/hardware/cpu/opti
ons.nix b/modules/nixos/hardware/cpu/options
.nix
index ce1356f..679a6a7 100644
--- a/modules/nixos/hardware/cpu/options.nix
+++ b/modules/nixos/hardware/cpu/options.nix
@@ -15,7 +15,7 @@
   in
     microArchMapping.${vendor}.${family}.${
model} or null;
 in {
-  cpu = {
+  options.ooknet.hardware.cpu = {
     type = mkOption {
       type = nullOr (enum ["intel" "amd"]);
       default = null;
 

diff --git a/modules/nixos/hardware/options.nix b/modules/nixos/hardware/options.n
ix
index ad240f6..5c420da 100644
--- a/modules/nixos/hardware/options.nix
+++ b/modules/nixos/hardware/options.nix
@@ -19,6 +19,7 @@ in {
         default = null;
       };
       lact.enable = mkEnableOption "Enable amd tuning software lact";
+      benchmark.enable = mkEnableOption "Enable benchmarking tools";
     };
 
     features = mkOption {

diff --git a/modules/nixos/hardware/options.
nix b/modules/nixos/hardware/options.nix
index ad240f6..5c420da 100644
--- a/modules/nixos/hardware/options.nix
+++ b/modules/nixos/hardware/options.nix
@@ -19,6 +19,7 @@ in {
         default = null;
       };
       lact.enable = mkEnableOption "Enable 
amd tuning software lact";
+      benchmark.enable = mkEnableOption "En
able benchmarking tools";
     };
 
     features = mkOption {
 
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET