1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

swaylock: document how to fix PAM on non-NixOS

Fixes #7717.
This commit is contained in:
rcerc 2025-08-25 11:13:37 -04:00 committed by Austin Horstman
parent 600ce016e2
commit 59aabcd3db

View file

@ -33,6 +33,13 @@ in
```nix
security.pam.services.swaylock = {};
```
On non-NixOS, it is easiest to avoid incompatibility involving PAM by
1. stopping Home Manager from installing swaylock by setting
{option}`programs.swaylock.package` to `null`; and
2. instead installing swaylock from your distribution's repository.
'';
};