1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-05 00:21:04 +01:00
This commit is contained in:
khaneliman 2025-08-26 21:51:16 +00:00
parent 6c5092d7b7
commit a225036f99

View file

@ -68660,7 +68660,8 @@ authentication. The package installed through home-manager
will <span class="emphasis"><em>not</em></span> be able to unlock the session without this
configuration.</p><p>On NixOS, this is by default enabled with the sway module, but
for other compositors it can currently be enabled using:</p><pre><code class="programlisting nix">security.pam.services.swaylock = {};
</code></pre>
</code></pre><p>On non-NixOS, it is easiest to avoid incompatibility involving PAM by</p><div class="orderedlist"><ol class="orderedlist " type="1"><li class="listitem"><p>stopping Home Manager from installing swaylock by setting
<code class="option">programs.swaylock.package</code> to <code class="literal">null</code>; and</p></li><li class="listitem"><p>instead installing swaylock from your distributions repository.</p></li></ol></div>
<p><span class="emphasis"><em>Type:</em></span>
boolean</p>