mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-06 00:51:04 +01:00
deploy: 8a68f18e96
This commit is contained in:
parent
9bdab91b11
commit
5a9f5a12c2
1 changed files with 110 additions and 0 deletions
110
options.xhtml
110
options.xhtml
|
|
@ -19904,6 +19904,116 @@ null or package</p>
|
||||||
</td></tr>
|
</td></tr>
|
||||||
</table>
|
</table>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt>
|
||||||
|
<span class="term">
|
||||||
|
<a id="opt-programs.distrobox.enable"></a><a class="term" href="options.xhtml#opt-programs.distrobox.enable"><code class="option">programs.distrobox.enable</code>
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<p>Whether to enable distrobox.</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>
|
||||||
|
<code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/distrobox.nix" target="_top">
|
||||||
|
<home-manager/modules/programs/distrobox.nix>
|
||||||
|
</a></code>
|
||||||
|
</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
<dt>
|
||||||
|
<span class="term">
|
||||||
|
<a id="opt-programs.distrobox.package"></a><a class="term" href="options.xhtml#opt-programs.distrobox.package"><code class="option">programs.distrobox.package</code>
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<p>The distrobox 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.distrobox</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/distrobox.nix" target="_top">
|
||||||
|
<home-manager/modules/programs/distrobox.nix>
|
||||||
|
</a></code>
|
||||||
|
</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
<dt>
|
||||||
|
<span class="term">
|
||||||
|
<a id="opt-programs.distrobox.containers"></a><a class="term" href="options.xhtml#opt-programs.distrobox.containers"><code class="option">programs.distrobox.containers</code>
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<p>A set of containers and all its respective configurations. Each option cat be either a
|
||||||
|
bool, string or a list of strings. If passed a list, the option will be repeated for each element.
|
||||||
|
See common-debian in the example config. All the available options for the containers can be found
|
||||||
|
in the distrobox-assemble documentation at <a class="link" href="https://github.com/89luca89/distrobox/blob/main/docs/usage/distrobox-assemble.md" target="_top">https://github.com/89luca89/distrobox/blob/main/docs/usage/distrobox-assemble.md</a>.</p>
|
||||||
|
|
||||||
|
<p><span class="emphasis"><em>Type:</em></span>
|
||||||
|
attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string) or a list of them for duplicate keys)</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">''
|
||||||
|
{
|
||||||
|
python-project = {
|
||||||
|
image = "fedora:40";
|
||||||
|
additional_packages = "python3 git";
|
||||||
|
init_hooks = "pip3 install numpy pandas torch torchvision";
|
||||||
|
};
|
||||||
|
|
||||||
|
common-debian = {
|
||||||
|
image = "debian:13";
|
||||||
|
entry = true;
|
||||||
|
additional_packages = "git";
|
||||||
|
init_hooks = [
|
||||||
|
"ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/docker"
|
||||||
|
"ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/docker-compose"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
office = {
|
||||||
|
clone = "common-debian";
|
||||||
|
additional_packages = "libreoffice onlyoffice";
|
||||||
|
entry = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
random-things = {
|
||||||
|
clone = "common-debian";
|
||||||
|
entry = false;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
''
|
||||||
|
</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/distrobox.nix" target="_top">
|
||||||
|
<home-manager/modules/programs/distrobox.nix>
|
||||||
|
</a></code>
|
||||||
|
</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
<dt>
|
<dt>
|
||||||
<span class="term">
|
<span class="term">
|
||||||
<a id="opt-programs.earthly.enable"></a><a class="term" href="options.xhtml#opt-programs.earthly.enable"><code class="option">programs.earthly.enable</code>
|
<a id="opt-programs.earthly.enable"></a><a class="term" href="options.xhtml#opt-programs.earthly.enable"><code class="option">programs.earthly.enable</code>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue