Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions wrapperModules/n/nushell/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
Provide either `.content` to inline the file contents or `.path` to reference an existing file.
This file is passed to Nushell using `--env-config`, and is typically used to define
environment variables or startup commands that apply to all shells.

Note that Nushell also reads this file in non-interactive environments unless
`--no-config-file` is specified. This is a subtle yet significant difference from
placing the config file at $XDG_CONFIG_HOME/nushell/env.nu. For more details, see
https://www.nushell.sh/book/configuration.html#flag-behavior.
'';
};
"config.nu" = lib.mkOption {
Expand All @@ -32,6 +37,11 @@
Provide either `.content` to inline the file contents or `.path` to reference an existing file.
This file is passed to Nushell using `--config`, and controls general shell behavior,
key bindings, and built-in command settings.

Note that Nushell also reads this file in non-interactive environments unless
`--no-config-file` is specified. This is a subtle yet significant difference from
placing the config file at $XDG_CONFIG_HOME/nushell/config.nu. For more details, see
https://www.nushell.sh/book/configuration.html#flag-behavior.
'';
};
};
Expand Down
Loading