diff --git a/options.html b/options.html index 3dda8f923..c83b9340e 100644 --- a/options.html +++ b/options.html @@ -5354,6 +5354,23 @@ If unset then the source option will be preferred.

<home-manager/modules/programs/nushell.nix>

programs.nushell.extraEnv

Additional configuration to add to the nushell environment variables file.

Type: strings concatenated with "\n"

Default: ""

Declared by:

<home-manager/modules/programs/nushell.nix> +
programs.nushell.extraLogin

Additional configuration to add to the nushell login file.

Type: strings concatenated with "\n"

Default: ""

Declared by:

+ <home-manager/modules/programs/nushell.nix> +
programs.nushell.loginFile

The login file to be used for nushell upon logging in. +

+See https://www.nushell.sh/book/configuration.html#configuring-nu-as-a-login-shell for more information.

Type: null or (submodule)

Default: null

Example:

''
+  # Prints "Hello, World" upon logging into tty1
+  if (tty) == "/dev/tty1" {
+    echo "Hello, World"
+  }
+''

Declared by:

+ <home-manager/modules/programs/nushell.nix> +
programs.nushell.loginFile.source

Path of the nushell login.nu file to use. +If the text option is set, it will be preferred.

Type: null or path

Default: null

Declared by:

+ <home-manager/modules/programs/nushell.nix> +
programs.nushell.loginFile.text

Text of the nushell login.nu file. +If unset then the source option will be preferred.

Type: strings concatenated with "\n"

Default: if source is defined, the content of source, otherwise empty

Declared by:

+ <home-manager/modules/programs/nushell.nix>
programs.nushell.shellAliases

An attribute set that maps aliases (the top level attribute names in this option) to command strings or directly to build outputs.

Type: attribute set of string

Default: { }

Example:

{
   ll = "ls -l";