add power switch handling to host specific config
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user