latest setup (with amdgpu)

This commit is contained in:
ari committed 2024-02-17 15:10:50 -05:00
1 parent 1db0ddf0fe
commit 2897ff5dc8
9 files changed
+211 -1

No files matched your search

+25
View File
@@ -13,6 +13,31 @@
xkbVariant = "";
};
# Advance Power Management
services.power-profiles-daemon.enable = false;
services.tlp = {
enable = true;
settings = {
CPU_BOOST_ON_BAT = 0;
CPU_SCALING_GOVERNOR_ON_BATTERY = "powersave";
START_CHARGE_THRESH_BAT0 = 90;
STOP_CHARGE_THRESH_BAT0 = 97;
RUNTIME_PM_ON_BAT = "auto";
PLATFORM_PROFILE_ON_AC = "balanced";
PLATFORM_PROFILE_ON_BAT = "low-power";
};
};
# Logind
services.logind = {
lidSwitch = "suspend-then-hibernate";
extraConfig = ''
HandlePowerKey=suspend-then-hibernate
IdleAction=suspend-then-hibernate
IdleActionSec=2m
'';
};
systemd.sleep.extraConfig = "HibernateDelaySec=30m";
# Enable CUPS to print documents.
services.printing.enable = true;