From 023e11ae3407c184eff3463eccc4460d5682a9d1 Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Thu, 28 May 2020 00:06:35 +0200 Subject: [PATCH] swaylock: Add a short note about the required PAM module See #89019, hopefully this helps a bit. --- pkgs/applications/window-managers/sway/lock.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/window-managers/sway/lock.nix b/pkgs/applications/window-managers/sway/lock.nix index dcff3a5c47f..7cbba5e981b 100644 --- a/pkgs/applications/window-managers/sway/lock.nix +++ b/pkgs/applications/window-managers/sway/lock.nix @@ -30,6 +30,8 @@ stdenv.mkDerivation rec { description = "Screen locker for Wayland"; longDescription = '' swaylock is a screen locking utility for Wayland compositors. + Important note: If you don't use the Sway module (programs.sway.enable) + you need to set "security.pam.services.swaylock = {};" manually. ''; inherit (src.meta) homepage; license = licenses.mit;