mirror of
https://github.com/nix-community/home-manager
synced 2024-12-25 03:09:47 +01:00
swaylock: document the need for host PAM configuration
This commit is contained in:
parent
c020c84b87
commit
768e981935
1 changed files with 15 additions and 1 deletions
|
@ -16,7 +16,21 @@ in {
|
|||
false otherwise
|
||||
'';
|
||||
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" { };
|
||||
|
|
Loading…
Reference in a new issue