diff --git a/modules/home/default.nix b/modules/home/default.nix index 548d8f7..33feddf 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -64,6 +64,11 @@ xdg.userDirs = { enable = lib.mkDefault true; createDirectories = lib.mkDefault true; + # Pinned: HM 26.05 flips the default to false (and warns on every eval + # for older stateVersions). Keep exporting XDG_*_DIR into the session — + # scripts and non-glib apps read the vars, and pinning gives every + # downstream the same behavior regardless of its stateVersion. + setSessionVariables = lib.mkDefault true; }; home.stateVersion = lib.mkDefault "26.05";