summary refs log tree commit diff stats
path: root/system/settings/hardware
diff options
context:
space:
mode:
Diffstat (limited to 'system/settings/hardware')
-rw-r--r--system/settings/hardware/laptop.nix1
-rw-r--r--system/settings/hardware/personal-computer.nix6
2 files changed, 7 insertions, 0 deletions
diff --git a/system/settings/hardware/laptop.nix b/system/settings/hardware/laptop.nix
index 9f752070..946dbda7 100644
--- a/system/settings/hardware/laptop.nix
+++ b/system/settings/hardware/laptop.nix
@@ -6,6 +6,7 @@
     ./bluetooth-audio.nix
     ./connman.nix
     ./iwd.nix
+    ./personal-computer.nix
     ../user-interface.nix
   ];
 
diff --git a/system/settings/hardware/personal-computer.nix b/system/settings/hardware/personal-computer.nix
new file mode 100644
index 00000000..e8574b3d
--- /dev/null
+++ b/system/settings/hardware/personal-computer.nix
@@ -0,0 +1,6 @@
+{ config, pkgs, lib, ... }:
+
+{
+  boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_zen;
+  powerManagement.cpuFreqGovernor = "schedutil";
+}