From 6fba804e5fc65340b51dde4bc567b92c616527b0 Mon Sep 17 00:00:00 2001 From: m3ta-chiron Date: Tue, 3 Nov 2026 16:16:07 +0100 Subject: [PATCH 1/3] fix(nushell): set loadSessionVariables explicitly home-manager changed its default and warns on every host evaluation. Co-Authored-By: Claude Opus 5.5 --- profiles/base/shell/nushell.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profiles/base/shell/nushell.nix b/profiles/base/shell/nushell.nix index 9529826..159315d 100644 --- a/profiles/base/shell/nushell.nix +++ b/profiles/base/shell/nushell.nix @@ -15,6 +15,8 @@ in { config = mkIf cfg.enable { programs.nushell = { enable = true; + # Explicit to silence the home-manager default-change warning. + loadSessionVariables = true; envFile.text = '' $env.config.show_banner = false $env.NIX_PATH = "nixpkgs=channel:nixos-unstable" From 6f1826b96bad7d0711794bbc47a4419c6f0412df Mon Sep 17 00:00:00 2001 From: m3ta-chiron Date: Tue, 3 Nov 2026 16:19:57 +0100 Subject: [PATCH 2/3] revert: fix(nushell): set loadSessionVariables explicitly nixos-config's home-manager pin predates the option, so every host failed to evaluate. Set it again once that pin moves past the default change. Co-Authored-By: Claude Opus 5.5 --- profiles/base/shell/nushell.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/profiles/base/shell/nushell.nix b/profiles/base/shell/nushell.nix index 159315d..9529826 100644 --- a/profiles/base/shell/nushell.nix +++ b/profiles/base/shell/nushell.nix @@ -15,8 +15,6 @@ in { config = mkIf cfg.enable { programs.nushell = { enable = true; - # Explicit to silence the home-manager default-change warning. - loadSessionVariables = true; envFile.text = '' $env.config.show_banner = false $env.NIX_PATH = "nixpkgs=channel:nixos-unstable" From 0c509a7c90faf0cefe39d82b9eb938ed7a2de183 Mon Sep 17 00:00:00 2001 From: m3ta-chiron Date: Tue, 3 Nov 2026 18:09:00 +0100 Subject: [PATCH 3/3] fix(nushell): keep loadSessionVariables off explicitly home-manager changed the default to true for stateVersion 26.11 and warns on every host evaluation. Setting the legacy value keeps nushell's behaviour and silences the warning. Co-Authored-By: Claude Opus 5.5 --- profiles/base/shell/nushell.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/profiles/base/shell/nushell.nix b/profiles/base/shell/nushell.nix index 9529826..9cc4f48 100644 --- a/profiles/base/shell/nushell.nix +++ b/profiles/base/shell/nushell.nix @@ -15,6 +15,9 @@ in { config = mkIf cfg.enable { programs.nushell = { enable = true; + # Keep the pre-26.11 behaviour; set explicitly to silence the + # home-manager default-change warning. + loadSessionVariables = false; envFile.text = '' $env.config.show_banner = false $env.NIX_PATH = "nixpkgs=channel:nixos-unstable"