add power switch handling to host specific config

This commit is contained in:
2025-11-01 12:35:46 -05:00
parent 4078ed0d21
commit 458090e795
2 changed files with 6 additions and 7 deletions

View File

@@ -34,13 +34,6 @@
# allow proprietary packages
nixpkgs.config.allowUnfree = true;
# fix power buttons
services.logind.settings.Login = {
HandlePowerKey = "suspend";
HandleLidSwitch = "suspend";
#HibernateDelaySec = "30min";
};
# power management
services.autoaspm.enable = true;
powerManagement.powertop.enable = true;