fix: environment variables missed in nushell

fix: https://github.com/ryan4yin/nix-config/issues/26
This commit is contained in:
Ryan Yin
2023-12-07 12:23:16 +08:00
parent d13a353921
commit 9f59301a0e
6 changed files with 30 additions and 59 deletions

View File

@@ -3,16 +3,6 @@
enable = true;
configFile.source = ./config.nu;
extraConfig = ''
$env.PATH = ([
"${config.home.homeDirectory}/bin"
"${config.home.homeDirectory}/.local/bin"
"${config.home.homeDirectory}/go/bin"
($env.PATH | split row (char esep))
] | flatten)
'';
# home-manager will merge the cotent in `environmentVariables` with the `envFile.source`
# but basically, I set all environment variables via the shell-independent way, so I don't need to use those two options
#