diff options
-rw-r--r-- | hosts/shinji.nix | 5 |
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; |