Compare commits

...
4 Commits
Author SHA1 Message Date
m3ta-chironandClaude Opus 5.5 0c509a7c90 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>
2026-11-03 18:09:00 +01:00
m3ta-chiron 38d53d68c0 Merge pull request 'revert: fix(nushell): set loadSessionVariables explicitly' (#7) from revert/nushell-session-variables into master 2026-11-03 16:20:03 +01:00
m3ta-chironandClaude Opus 5.5 6f1826b96b 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 <noreply@anthropic.com>
2026-11-03 16:19:57 +01:00
m3ta-chiron e7bbc6275a Merge pull request 'fix(nushell): set loadSessionVariables explicitly' (#6) from fix/nushell-session-variables into master 2026-11-03 16:18:00 +01:00
+3 -2
View File
@@ -15,8 +15,9 @@ 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. # Keep the pre-26.11 behaviour; set explicitly to silence the
loadSessionVariables = true; # home-manager default-change warning.
loadSessionVariables = false;
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"