mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 11:39:46 +01:00
deploy: c6ddd80fb1
This commit is contained in:
parent
f59c59df77
commit
887329deb0
1 changed files with 204 additions and 0 deletions
204
options.xhtml
204
options.xhtml
|
@ -25258,6 +25258,210 @@ JSON value</p>
|
|||
</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
<dt>
|
||||
<span class="term">
|
||||
<a id="opt-programs.hyprlock.enable"></a><a class="term" href="options.xhtml#opt-programs.hyprlock.enable"><code class="option">programs.hyprlock.enable</code>
|
||||
</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>Whether to enable Hyprlock, Hyprland’s GPU-accelerated lock screen
|
||||
utility.</p><p>Note that PAM must be configured to enable hyprlock to perform
|
||||
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, it can be enabled using:</p><pre><code class="programlisting nix">security.pam.services.hyprlock = {};
|
||||
</code></pre>
|
||||
|
||||
<p><span class="emphasis"><em>Type:</em></span>
|
||||
boolean</p>
|
||||
|
||||
<p><span class="emphasis"><em>Default:</em></span>
|
||||
<code class="literal">false</code></p>
|
||||
|
||||
<p><span class="emphasis"><em>Example:</em></span>
|
||||
<code class="literal">true</code></p>
|
||||
|
||||
<p><span class="emphasis"><em>Declared by:</em></span></p>
|
||||
<table border="0" summary="Simple list" class="simplelist">
|
||||
<tr><td>
|
||||
<code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/hyprlock.nix" target="_top">
|
||||
<home-manager/modules/programs/hyprlock.nix>
|
||||
</a></code>
|
||||
</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
<dt>
|
||||
<span class="term">
|
||||
<a id="opt-programs.hyprlock.package"></a><a class="term" href="options.xhtml#opt-programs.hyprlock.package"><code class="option">programs.hyprlock.package</code>
|
||||
</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>The hyprlock package to use.</p>
|
||||
|
||||
<p><span class="emphasis"><em>Type:</em></span>
|
||||
package</p>
|
||||
|
||||
<p><span class="emphasis"><em>Default:</em></span>
|
||||
<code class="literal">pkgs.hyprlock</code></p>
|
||||
|
||||
<p><span class="emphasis"><em>Declared by:</em></span></p>
|
||||
<table border="0" summary="Simple list" class="simplelist">
|
||||
<tr><td>
|
||||
<code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/hyprlock.nix" target="_top">
|
||||
<home-manager/modules/programs/hyprlock.nix>
|
||||
</a></code>
|
||||
</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
<dt>
|
||||
<span class="term">
|
||||
<a id="opt-programs.hyprlock.extraConfig"></a><a class="term" href="options.xhtml#opt-programs.hyprlock.extraConfig"><code class="option">programs.hyprlock.extraConfig</code>
|
||||
</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>Extra configuration lines to add to <code class="literal">~/.config/hypr/hyprlock.conf</code>.</p>
|
||||
|
||||
<p><span class="emphasis"><em>Type:</em></span>
|
||||
strings concatenated with “\n”</p>
|
||||
|
||||
<p><span class="emphasis"><em>Default:</em></span>
|
||||
<code class="literal">""</code></p>
|
||||
|
||||
<p><span class="emphasis"><em>Declared by:</em></span></p>
|
||||
<table border="0" summary="Simple list" class="simplelist">
|
||||
<tr><td>
|
||||
<code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/hyprlock.nix" target="_top">
|
||||
<home-manager/modules/programs/hyprlock.nix>
|
||||
</a></code>
|
||||
</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
<dt>
|
||||
<span class="term">
|
||||
<a id="opt-programs.hyprlock.importantPrefixes"></a><a class="term" href="options.xhtml#opt-programs.hyprlock.importantPrefixes"><code class="option">programs.hyprlock.importantPrefixes</code>
|
||||
</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>List of prefix of attributes to source at the top of the config.</p>
|
||||
|
||||
<p><span class="emphasis"><em>Type:</em></span>
|
||||
list of string</p>
|
||||
|
||||
<p><span class="emphasis"><em>Default:</em></span></p><pre><code class="programlisting">[
|
||||
"$"
|
||||
"monitor"
|
||||
"size"
|
||||
"source"
|
||||
]
|
||||
</code></pre>
|
||||
|
||||
<p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting">[
|
||||
"$"
|
||||
"monitor"
|
||||
"size"
|
||||
]
|
||||
</code></pre>
|
||||
|
||||
<p><span class="emphasis"><em>Declared by:</em></span></p>
|
||||
<table border="0" summary="Simple list" class="simplelist">
|
||||
<tr><td>
|
||||
<code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/hyprlock.nix" target="_top">
|
||||
<home-manager/modules/programs/hyprlock.nix>
|
||||
</a></code>
|
||||
</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
<dt>
|
||||
<span class="term">
|
||||
<a id="opt-programs.hyprlock.settings"></a><a class="term" href="options.xhtml#opt-programs.hyprlock.settings"><code class="option">programs.hyprlock.settings</code>
|
||||
</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>Hyprlock configuration written in Nix. Entries with the same key should
|
||||
be written as lists. Variables’ and colors’ names should be quoted. See
|
||||
<a class="link" href="https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/" target="_top">https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/</a> for more examples.</p>
|
||||
|
||||
<p><span class="emphasis"><em>Type:</em></span>
|
||||
Hyprlock configuration value</p>
|
||||
|
||||
<p><span class="emphasis"><em>Default:</em></span>
|
||||
<code class="literal">{ }</code></p>
|
||||
|
||||
<p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting">{
|
||||
general = {
|
||||
disable_loading_bar = true;
|
||||
grace = 300;
|
||||
hide_cursor = true;
|
||||
no_fade_in = false;
|
||||
};
|
||||
|
||||
background = [
|
||||
{
|
||||
path = "screenshot";
|
||||
blur_passes = 3;
|
||||
blur_size = 8;
|
||||
}
|
||||
];
|
||||
|
||||
input-field = [
|
||||
{
|
||||
size = "200, 50";
|
||||
position = "0, -80";
|
||||
monitor = "";
|
||||
dots_center = true;
|
||||
fade_on_empty = false;
|
||||
font_color = "rgb(202, 211, 245)";
|
||||
inner_color = "rgb(91, 96, 120)";
|
||||
outer_color = "rgb(24, 25, 38)";
|
||||
outline_thickness = 5;
|
||||
placeholder_text = '\'<span foreground="##cad3f5">Password...</span>'\';
|
||||
shadow_passes = 2;
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p><span class="emphasis"><em>Declared by:</em></span></p>
|
||||
<table border="0" summary="Simple list" class="simplelist">
|
||||
<tr><td>
|
||||
<code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/hyprlock.nix" target="_top">
|
||||
<home-manager/modules/programs/hyprlock.nix>
|
||||
</a></code>
|
||||
</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
<dt>
|
||||
<span class="term">
|
||||
<a id="opt-programs.hyprlock.sourceFirst"></a><a class="term" href="options.xhtml#opt-programs.hyprlock.sourceFirst"><code class="option">programs.hyprlock.sourceFirst</code>
|
||||
</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>Whether to enable putting source entries at the top of the configuration
|
||||
.</p>
|
||||
|
||||
<p><span class="emphasis"><em>Type:</em></span>
|
||||
boolean</p>
|
||||
|
||||
<p><span class="emphasis"><em>Default:</em></span>
|
||||
<code class="literal">true</code></p>
|
||||
|
||||
<p><span class="emphasis"><em>Example:</em></span>
|
||||
<code class="literal">true</code></p>
|
||||
|
||||
<p><span class="emphasis"><em>Declared by:</em></span></p>
|
||||
<table border="0" summary="Simple list" class="simplelist">
|
||||
<tr><td>
|
||||
<code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/hyprlock.nix" target="_top">
|
||||
<home-manager/modules/programs/hyprlock.nix>
|
||||
</a></code>
|
||||
</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
<dt>
|
||||
<span class="term">
|
||||
<a id="opt-programs.i3blocks.enable"></a><a class="term" href="options.xhtml#opt-programs.i3blocks.enable"><code class="option">programs.i3blocks.enable</code>
|
||||
|
|
Loading…
Reference in a new issue