Compare commits

...
2 Commits
Author SHA1 Message Date
m3ta-chiron 4e46e08e4d Merge pull request 'fix(nushell): keep loadSessionVariables off explicitly' (#8) from fix/nushell-session-variables into master 2026-11-03 18:09:08 +01:00
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
+3
View File
@@ -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"