diff options
author | Freya Murphy <freya@freyacat.org> | 2025-09-02 12:53:11 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-09-02 12:53:11 -0400 |
commit | 9f77f38c1e8edc0248d8a0c65b579998e8fd3e65 (patch) | |
tree | 85848094050d0b20cf8e6826117d18c3bbee2e32 /hosts/shinji/default.nix | |
parent | update commits (diff) | |
download | dotfiles-nix-9f77f38c1e8edc0248d8a0c65b579998e8fd3e65.tar.gz dotfiles-nix-9f77f38c1e8edc0248d8a0c65b579998e8fd3e65.tar.bz2 dotfiles-nix-9f77f38c1e8edc0248d8a0c65b579998e8fd3e65.zip |
update commits
Diffstat (limited to 'hosts/shinji/default.nix')
-rw-r--r-- | hosts/shinji/default.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/hosts/shinji/default.nix b/hosts/shinji/default.nix index fa30156..f9401bf 100644 --- a/hosts/shinji/default.nix +++ b/hosts/shinji/default.nix @@ -1,6 +1,10 @@ # Shinji # System configuration for my laptop -{lib, pkgs, ...}: { +{ + lib, + pkgs, + ... +}: { imports = [ ./hardware.nix ./sops.nix @@ -18,7 +22,11 @@ ]; # set power btn to suspend - services.logind.powerKey = "suspend"; + services.logind.settings.Login = { + HandlePowerKey = "suspend"; + HandeLidSwitch = "suspend"; + HandeLidSwitchDocked = "suspend"; + }; # logitech mouse udev services.udev.extraRules = lib.fileContents ./42-logitech-unify-permissions.rules; |