Power management

This commit is contained in:
Benson Chu 2023-12-09 14:46:52 -06:00
parent 8393d5e907
commit 50ed98060a

View file

@ -33,6 +33,11 @@ in
dataDir = "/home/benson/.config/syncthing/db"; # Folder for Syncthing's database
};
services.logind = {
extraConfig = "HandlePowerKey=suspend";
lidSwitch = "suspend";
};
hardware.bluetooth.enable = true; # enables support for Bluetooth
# Configure keymap in X11