From 0c509a7c90faf0cefe39d82b9eb938ed7a2de183 Mon Sep 17 00:00:00 2001 From: m3ta-chiron Date: Tue, 3 Nov 2026 18:09:00 +0100 Subject: [PATCH] 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" -- 2.56.0