mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-17 14:31:09 +01:00
deploy: 04c27d743d
This commit is contained in:
parent
e98687de27
commit
34b86f4cb0
3 changed files with 71 additions and 1 deletions
|
|
@ -130,6 +130,36 @@ attribute set</p>
|
|||
<p><span class="emphasis"><em>Example:</em></span>
|
||||
<code class="literal">{ inherit emacs-overlay; }</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/nixos/common.nix" target="_top">
|
||||
<home-manager/nixos/common.nix>
|
||||
</a></code>
|
||||
</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
<dt>
|
||||
<span class="term">
|
||||
<a id="nix-darwin-opt-home-manager.minimal"></a><a class="term" href="nix-darwin-options.xhtml#nix-darwin-opt-home-manager.minimal"><code class="option">home-manager.minimal</code>
|
||||
</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>Whether to enable only the necessary modules that allow home-manager to function.</p><p>This can be used to allow vendoring a minimal list of modules yourself, rather than
|
||||
importing every single module.</p><p>THIS IS FOR ADVANCED USERS, AND WILL DISABLE ALMOST EVERY MODULE.
|
||||
THIS SHOULD NOT BE ENABLED UNLESS YOU KNOW THE IMPLICATIONS.
|
||||
.</p>
|
||||
|
||||
<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>
|
||||
|
|
|
|||
|
|
@ -130,6 +130,36 @@ attribute set</p>
|
|||
<p><span class="emphasis"><em>Example:</em></span>
|
||||
<code class="literal">{ inherit emacs-overlay; }</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/nixos/common.nix" target="_top">
|
||||
<home-manager/nixos/common.nix>
|
||||
</a></code>
|
||||
</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
<dt>
|
||||
<span class="term">
|
||||
<a id="nixos-opt-home-manager.minimal"></a><a class="term" href="nixos-options.xhtml#nixos-opt-home-manager.minimal"><code class="option">home-manager.minimal</code>
|
||||
</a>
|
||||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>Whether to enable only the necessary modules that allow home-manager to function.</p><p>This can be used to allow vendoring a minimal list of modules yourself, rather than
|
||||
importing every single module.</p><p>THIS IS FOR ADVANCED USERS, AND WILL DISABLE ALMOST EVERY MODULE.
|
||||
THIS SHOULD NOT BE ENABLED UNLESS YOU KNOW THE IMPLICATIONS.
|
||||
.</p>
|
||||
|
||||
<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>
|
||||
|
|
|
|||
|
|
@ -51,7 +51,17 @@ previously created an unnecessary <code class="literal">home-manager</code> per-
|
|||
profile” for the user. This no longer happens. You can restore the
|
||||
old behavior by adding</p><pre><code class="programlisting nix">home-manager.enableLegacyProfileManagement = true;
|
||||
</code></pre><p>to your configuration. This option is likely to be deprecated in the
|
||||
future.</p></li><li class="listitem"><p>The use of <code class="literal">services.syncthing.tray</code> as a Boolean option was removed
|
||||
future.</p></li><li class="listitem"><p>By default, Home Manager imports all modules, which leads to
|
||||
increased evaluation time. Some users may wish to only import the
|
||||
modules they actually use. To accomodate this, a new option
|
||||
<code class="literal">home-manager.minimal</code> has been added. When this option is enabled,
|
||||
Home Manager will only import the basic set of modules it requires
|
||||
to function. Other modules will have to be enabled manually, like
|
||||
this:</p><pre><code class="programlisting nix"> imports = [
|
||||
"${modulesPath}/programs/fzf.nix"
|
||||
];
|
||||
</code></pre><p>This entrypoint is only recommended for advanced users, who are
|
||||
comfortable maintaining a personal list of modules to import.</p></li><li class="listitem"><p>The use of <code class="literal">services.syncthing.tray</code> as a Boolean option was removed
|
||||
after being deprecated in 2021. You are now expected to use
|
||||
<a class="xref" href="options.xhtml#opt-services.syncthing.tray.enable" ><code class="option">services.syncthing.tray.enable</code></a> to enable the Syncthing tray
|
||||
service.</p></li></ul></div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue