summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/shinji.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/hosts/shinji.nix b/hosts/shinji.nix
index ae06141..63d8ee0 100644
--- a/hosts/shinji.nix
+++ b/hosts/shinji.nix
@@ -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;