Compare commits

...

3 Commits

Author SHA1 Message Date
asmir 166aaaeef4 fuji: disable batteryNotifier daemon 2026-03-21 15:09:24 +01:00
asmir b43732f371 fuji: enable CPU freq above 2GHz on battery power 2026-03-21 15:09:02 +01:00
asmir 49f970a0b1 fuji: disable upower daemon for kde 2026-03-21 15:07:23 +01:00
+6 -6
View File
@@ -3,6 +3,7 @@
, pkgs , pkgs
, system , system
, zremap , zremap
, lib
, ... , ...
}: }:
let let
@@ -397,6 +398,7 @@ in
power-profiles-daemon.enable = false; power-profiles-daemon.enable = false;
printing.enable = true; printing.enable = true;
userborn.enable = true; userborn.enable = true;
upower.enable = lib.mkForce false;
greetd = { greetd = {
enable = true; enable = true;
@@ -479,21 +481,19 @@ in
# For your Fujitsu U9313X - Intel 13th gen # For your Fujitsu U9313X - Intel 13th gen
#CPU_ENERGY_PERF_POLICY_ON_AC = "performance"; #CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
#CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power"; CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_performance";
CPU_SCALING_MAX_FREQ_ON_AC = 4700000; CPU_SCALING_MAX_FREQ_ON_AC = 4700000;
CPU_SCALING_MAX_FREQ_ON_BAT = 3000000;
CPU_SCALING_MIN_FREQ_ON_AC = 400000; CPU_SCALING_MIN_FREQ_ON_AC = 400000;
CPU_SCALING_MIN_FREQ_ON_BAT = 400000; CPU_SCALING_MIN_FREQ_ON_BAT = 400000;
CPU_SCALING_MAX_FREQ_ON_BAT = 3200000;
# Optional: CPU boost control CPU_BOOST_ON_BAT = 1;
CPU_BOOST_ON_AC = 1; CPU_BOOST_ON_AC = 1;
CPU_BOOST_ON_BAT = 0;
}; };
}; };
batteryNotifier = { batteryNotifier = {
enable = true; enable = false;
notifyCapacity = 12; notifyCapacity = 12;
suspendCapacity = 5; suspendCapacity = 5;
}; };