Summary Files Commits Branches @commit @diff @stats
path: root / modules / personal / battery.nix
diff options
context:
space:
mode:
Commit13ceb5f40cb230f178ac05ca15933fef2e6cc02f (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-12-28 17:48:33 +0200
Committer
 Syndamia <kamen@syndamia.com>
2025-12-28 17:58:08 +0200
Files5e1dce541ead9d0e8a93505a968c74f81a8822c2 /modules/personal/battery.nix
nix-13ceb5f40cb230f178ac05ca15933fef2e6cc02f.tar
nix-13ceb5f40cb230f178ac05ca15933fef2e6cc02f.tar.gz
nix-13ceb5f40cb230f178ac05ca15933fef2e6cc02f.zip
Parent56facfa7f5de72f15f409f8d7d5ad522317ef555 (diff)
feat(modules)!: Complete reorganisation and renaming of module groups
1 files changed, 0 insertions, 27 deletions
-rw-r--r--modules/personal/battery.nix27
diff --git a/modules/personal/battery.nix b/modules/personal/battery.nix
deleted file mode 100644
index 8c6af72..0000000
--- a/modules/personal/battery.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-{ pkgs, ... }: {
- environment.systemPackages = with pkgs; [
- powertop upower acpid tlp
- ];
-
- services = {
- upower.enable = true;
- tlp = {
- enable = true;
- settings = {
- START_CHARGE_THRESH_BAT0 = 75;
- STOP_CHARGE_THRESH_BAT0 = 85;
-
- START_CHARGE_THRESH_BAT1 = 75;
- STOP_CHARGE_THRESH_BAT1 = 85;
-
- MEM_SLEEP_ON_AC = "deep";
- MEM_SLEEP_ON_BAT = "deep";
-
- CPU_SCALING_GOVERNOR_ON_AC = "performance";
- CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
- CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
- CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
- };
- };
- };
-}