1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-01 04:23:34 +02:00
This commit is contained in:
rycee 2023-07-08 22:31:26 +00:00
parent f130a50837
commit bfeb49a43f

View File

@ -5354,6 +5354,23 @@ If unset then the source option will be preferred.</p><p><span class="emphasis">
&lt;home-manager/modules/programs/nushell.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.nushell.extraEnv"></a><a class="link" href="options.html#opt-programs.nushell.extraEnv"><code class="option">programs.nushell.extraEnv</code></a></span></dt><dd><p>Additional configuration to add to the nushell environment variables file.</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/nushell.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/nushell.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.nushell.extraLogin"></a><a class="link" href="options.html#opt-programs.nushell.extraLogin"><code class="option">programs.nushell.extraLogin</code></a></span></dt><dd><p>Additional configuration to add to the nushell login file.</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/nushell.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/nushell.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.nushell.loginFile"></a><a class="link" href="options.html#opt-programs.nushell.loginFile"><code class="option">programs.nushell.loginFile</code></a></span></dt><dd><p>The login file to be used for nushell upon logging in.
</p><p>
See <a class="link" href="https://www.nushell.sh/book/configuration.html#configuring-nu-as-a-login-shell" target="_top">https://www.nushell.sh/book/configuration.html#configuring-nu-as-a-login-shell</a> for more information.</p><p><span class="emphasis"><em>Type:</em></span> null or (submodule)</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">null</code></p><p><span class="emphasis"><em>Example:</em></span> </p><pre class="programlisting">''
# Prints "Hello, World" upon logging into tty1
if (tty) == "/dev/tty1" {
echo "Hello, World"
}
''</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/nushell.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/nushell.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.nushell.loginFile.source"></a><a class="link" href="options.html#opt-programs.nushell.loginFile.source"><code class="option">programs.nushell.loginFile.source</code></a></span></dt><dd><p>Path of the nushell <code class="filename">login.nu</code> file to use.
If the text option is set, it will be preferred.</p><p><span class="emphasis"><em>Type:</em></span> null or path</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/programs/nushell.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/nushell.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.nushell.loginFile.text"></a><a class="link" href="options.html#opt-programs.nushell.loginFile.text"><code class="option">programs.nushell.loginFile.text</code></a></span></dt><dd><p>Text of the nushell <code class="filename">login.nu</code> file.
If unset then the source option will be preferred.</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">if source is defined, the content of source, otherwise empty</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/nushell.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/nushell.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.nushell.shellAliases"></a><a class="link" href="options.html#opt-programs.nushell.shellAliases"><code class="option">programs.nushell.shellAliases</code></a></span></dt><dd><p>An attribute set that maps aliases (the top level attribute names in
this option) to command strings or directly to build outputs.</p><p><span class="emphasis"><em>Type:</em></span> attribute set of string</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">{ }</code></p><p><span class="emphasis"><em>Example:</em></span> </p><pre class="programlisting">{
ll = "ls -l";