From bfeb49a43f6bb65e161e2cfa3e6c1878b67a6c2d Mon Sep 17 00:00:00 2001
From: rycee
<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";