diff options
| author | EuAndreh <eu@euandre.org> | 2023-02-17 15:35:04 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2023-02-17 15:35:04 -0300 |
| commit | 02d8124b2ae3630e3881f742b01ea82901d0b244 (patch) | |
| tree | dfefca5b1c786fd74a2b6cb6a879c0e846fc850b /etc | |
| parent | Use "brightnessctl" both on xmonad and i3 (diff) | |
| download | dotfiles-02d8124b2ae3630e3881f742b01ea82901d0b244.tar.gz dotfiles-02d8124b2ae3630e3881f742b01ea82901d0b244.tar.xz | |
etc/nix/configuration.nix: Lock after 5 minutes via logind
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/nix/configuration.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/nix/configuration.nix b/etc/nix/configuration.nix index 91c252d..34ddb56 100644 --- a/etc/nix/configuration.nix +++ b/etc/nix/configuration.nix @@ -135,6 +135,11 @@ in { upower.enable = true; flatpak.enable = true; + logind.extraConfig = '' + IdleAction=lock + IdleActionSec=300 + ''; + openssh = { enable = true; settings = { |
