feat: enable upowerd/poweralterd

main
mandlm 2024-01-26 20:27:47 +01:00
parent d4f1a61085
commit 10330a6e37
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
2 changed files with 8 additions and 0 deletions

View File

@ -47,6 +47,12 @@
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
services.upower = {
enable = true;
percentageCritical = 5;
criticalPowerAction = "HybridSleep";
};
programs = { programs = {
appgate-sdp.enable = true; appgate-sdp.enable = true;
zsh.enable = true; zsh.enable = true;

View File

@ -60,6 +60,8 @@ in
services.swayosd.enable = true; services.swayosd.enable = true;
services.poweralertd.enable = true;
wayland.windowManager.sway = { wayland.windowManager.sway = {
enable = true; enable = true;