feat: enable upowerd/poweralterd

This commit is contained in:
Michael Mandl 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;
services.upower = {
enable = true;
percentageCritical = 5;
criticalPowerAction = "HybridSleep";
};
programs = {
appgate-sdp.enable = true;
zsh.enable = true;

View file

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