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>
Additional configuration to add to the nushell environment variables file. Type: strings concatenated with "\n" Default: Declared by: Additional configuration to add to the nushell login file. Type: strings concatenated with "\n" Default: Declared by: 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: Example: Declared by: Path of the nushell Type: null or path Default: Declared by: Text of the nushell Type: strings concatenated with "\n" Default: Declared by: 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: programs.nushell.extraEnv
""
<home-manager/modules/programs/nushell.nix>
+
programs.nushell.extraLogin
""
+ <home-manager/modules/programs/nushell.nix>
+
programs.nushell.loginFile
null
''
+ # Prints "Hello, World" upon logging into tty1
+ if (tty) == "/dev/tty1" {
+ echo "Hello, World"
+ }
+''
+ <home-manager/modules/programs/nushell.nix>
+
programs.nushell.loginFile.source
login.nu
file to use.
+If the text option is set, it will be preferred.null
+ <home-manager/modules/programs/nushell.nix>
+
programs.nushell.loginFile.text
login.nu
file.
+If unset then the source option will be preferred.if source is defined, the content of source, otherwise empty
+ <home-manager/modules/programs/nushell.nix>
programs.nushell.shellAliases
{ }
{
ll = "ls -l";