diff options
Diffstat (limited to 'sys/services/upower')
-rw-r--r-- | sys/services/upower/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/services/upower/default.nix b/sys/services/upower/default.nix new file mode 100644 index 0000000..bd9d0be --- /dev/null +++ b/sys/services/upower/default.nix @@ -0,0 +1,10 @@ +{...}: { + services.upower = { + enable = true; + usePercentageForPolicy = true; + percentageLow = 10; + percentageCritical = 5; + percentageAction = 1; + criticalPowerAction = "Hibernate"; + }; +} |