1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-26 03:39:47 +01:00

swaylock: document the need for host PAM configuration

This commit is contained in:
Tristan Daniël Maat 2023-09-07 17:13:10 +02:00 committed by Mikilio
parent c020c84b87
commit 768e981935
No known key found for this signature in database
GPG key ID: 5B2F1A890CF33F3F

View file

@ -16,7 +16,21 @@ in {
false otherwise false otherwise
''; '';
example = true; example = true;
description = "Whether to enable swaylock."; description = ''
Whether to enable swaylock.
Note that PAM must be configured to enable swaylock to perform
authentication. The package installed through home-manager
will *not* be able to unlock the session without this
configuration.
On NixOS, this is by default enabled with the sway module, but
for other compositors it can currently be enabled using:
```nix
security.pam.services.swaylock = {};
```
'';
}; };
package = mkPackageOption pkgs "swaylock" { }; package = mkPackageOption pkgs "swaylock" { };