programs.nushell.environmentVariables
Home-Manager option
Environment variables to be set. Inline values can be set with lib.hm.nushell.mkNushellInline.
type: attribute set of (null or (Nushell inline value) or boolean or signed integer or floating point number or string or absolute path or (attribute set of Nushell values) or (list of Nushell values))Default
{ }Example
declared in: <home-manager/modules/programs/nushell.nix>source unavailable{ FOO = "BAR"; LIST_VALUE = [ "foo" "bar" ]; PROMPT_COMMAND = lib.hm.nushell.mkNushellInline ''{|| "> "}''; ENV_CONVERSIONS.PATH = { from_string = lib.hm.nushell.mkNushellInline "{|s| $s | split row (char esep) }"; to_string = lib.hm.nushell.mkNushellInline "{|v| $v | str join (char esep) }"; }; }