From 27b5a1e7b71a8d15ae5fc0a1e7e14b0a4f1db192 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Thu, 15 Sep 2022 02:05:55 +0200 Subject: Add wayland idling/locking via sway(idle/lock) --- hosts/configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'hosts/configuration.nix') diff --git a/hosts/configuration.nix b/hosts/configuration.nix index 0a2c8a3..bb0817c 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -117,6 +117,13 @@ wlr.enable = true; }; + #fix swaylock + security.pam.services.swaylock = { + text = '' + auth include login + ''; + }; + # List services that you want to enable: services = { openssh = { -- cgit 1.4.1