logind suspend

This commit is contained in:
Murphy 2025-02-05 23:15:48 -05:00
parent 8daa0e904d
commit bb9a4e854b
Signed by: freya
GPG key ID: 9FBC6FFD6D2DBF17

View file

@ -21,6 +21,11 @@ inputs.nixpkgs.lib.nixosSystem rec {
scale = 1.25;
}];
# set power btn to suspend
services.logind.extraConfig = ''
HandlePowerKey=suspend
'';
# hardware
hardware.graphics.enable = true;
hardware.bluetooth.enable = true;