fix(nushell): set loadSessionVariables explicitly
home-manager changed its default and warns on every host evaluation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2a36d43d9d
commit
6fba804e5f
1 file changed
+2
@@ -15,6 +15,8 @@ in {
|
|||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.nushell = {
|
programs.nushell = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
# Explicit to silence the home-manager default-change warning.
|
||||||
|
loadSessionVariables = true;
|
||||||
envFile.text = ''
|
envFile.text = ''
|
||||||
$env.config.show_banner = false
|
$env.config.show_banner = false
|
||||||
$env.NIX_PATH = "nixpkgs=channel:nixos-unstable"
|
$env.NIX_PATH = "nixpkgs=channel:nixos-unstable"
|
||||||
|
|||||||
Reference in new issue
Block a user