1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 13:39:46 +01:00
This commit is contained in:
rycee 2023-06-13 06:47:58 +00:00
parent 2b2ffa3aec
commit 056dc9ca1f

View file

@ -9433,21 +9433,21 @@ If false just the exec scripts are run.</p><p><span class="emphasis"><em>Type:</
&lt;home-manager/modules/services/xsuspender.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-services.xsuspender.rules._name_.suspendSubtreePattern"></a><a class="term" href="options.html#opt-services.xsuspender.rules._name_.suspendSubtreePattern"><code class="option">services.xsuspender.rules.&lt;name&gt;.suspendSubtreePattern</code></a></span></dt><dd><p>Also suspend descendant processes that match this regex.</p><p><span class="emphasis"><em>Type:</em></span> null or string</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">null</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/services/xsuspender.nix#blob-path" target="_top">
&lt;home-manager/modules/services/xsuspender.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-specialization"></a><a class="term" href="options.html#opt-specialization"><code class="option">specialization</code></a></span></dt><dd><p>A set of named specialized configurations. These can be used to extend
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-specialisation"></a><a class="term" href="options.html#opt-specialisation"><code class="option">specialisation</code></a></span></dt><dd><p>A set of named specialized configurations. These can be used to extend
your base configuration with additional settings. For example, you can
have specializations named <span class="quote"><span class="quote">light</span></span> and <span class="quote"><span class="quote">dark</span></span>
have specialisations named <span class="quote"><span class="quote">light</span></span> and <span class="quote"><span class="quote">dark</span></span>
that applies light and dark color theme configurations.
</p><p>
Note, this is an experimental option for now and you therefore have to
activate the specialization by looking up and running the activation
activate the specialisation by looking up and running the activation
script yourself. Note, running the activation script will create a new
Home Manager generation.
</p><p>
For example, to activate the <span class="quote"><span class="quote">dark</span></span> specialization. You can
For example, to activate the <span class="quote"><span class="quote">dark</span></span> specialisation. You can
first look up your current Home Manager generation by running
</p><pre class="programlisting console">
@ -9458,7 +9458,7 @@ first look up your current Home Manager generation by running
then run
</p><pre class="programlisting console">
$ /nix/store/jy…ac-home-manager-generation/specialization/dark/activate
$ /nix/store/jy…ac-home-manager-generation/specialisation/dark/activate
Starting Home Manager activation
</pre><p>
@ -9466,10 +9466,10 @@ then run
</p><p>
WARNING! Since this option is experimental, the activation process may
change in backwards incompatible ways.</p><p><span class="emphasis"><em>Type:</em></span> attribute set of (submodule)</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/misc/specialization.nix#blob-path" target="_top">
&lt;home-manager/modules/misc/specialization.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-specialization._name_.configuration"></a><a class="term" href="options.html#opt-specialization._name_.configuration"><code class="option">specialization.&lt;name&gt;.configuration</code></a></span></dt><dd><p>Arbitrary Home Manager configuration settings.</p><p><span class="emphasis"><em>Type:</em></span> submodule</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/misc/specialization.nix#blob-path" target="_top">
&lt;home-manager/modules/misc/specialization.nix&gt;
change in backwards incompatible ways.</p><p><span class="emphasis"><em>Type:</em></span> attribute set of (submodule)</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/misc/specialisation.nix#blob-path" target="_top">
&lt;home-manager/modules/misc/specialisation.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-specialisation._name_.configuration"></a><a class="term" href="options.html#opt-specialisation._name_.configuration"><code class="option">specialisation.&lt;name&gt;.configuration</code></a></span></dt><dd><p>Arbitrary Home Manager configuration settings.</p><p><span class="emphasis"><em>Type:</em></span> submodule</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/misc/specialisation.nix#blob-path" target="_top">
&lt;home-manager/modules/misc/specialisation.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-systemd.user.automounts"></a><a class="term" href="options.html#opt-systemd.user.automounts"><code class="option">systemd.user.automounts</code></a></span></dt><dd><p>Definition of systemd per-user automount units. Attributes are
merged recursively.
</p><p>