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 <noreply@anthropic.com>
This commit is contained in:
1 parent
38d53d68c0
commit
0c509a7c90
1 file changed
+3
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user