diff options
Diffstat (limited to 'machines/profpatsch/base-workstation.nix')
-rw-r--r-- | machines/profpatsch/base-workstation.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/machines/profpatsch/base-workstation.nix b/machines/profpatsch/base-workstation.nix index b9e07ee0..a48c18b4 100644 --- a/machines/profpatsch/base-workstation.nix +++ b/machines/profpatsch/base-workstation.nix @@ -47,6 +47,20 @@ in { freeMemThreshold = 5; # <5% free }; + vuizvui.services.upower = { + enable = true; + settings = { + UPower = { + UsePercentageForPolicy = true; + CriticalPowerAction = "Suspend"; + + PercentageLow = 15; + PercentageCritical = 8; + PercentageAction = 5; + }; + }; + }; + ################### # Graphical System |