fix: use xdg.enable instead of manually setting env vars

This commit is contained in:
leonhard committed 2026-10-25 20:06:39 +01:00
1 parent 86c88e4b4d
commit 2557d0f650
1 file changed
+1 -6
+1 -6
View File
@@ -40,12 +40,7 @@ in
nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs; nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs;
}; };
home.sessionVariables = { xdg.enable = true;
XDG_CACHE_HOME = "$HOME/.cache";
XDG_CONFIG_HOME = "$HOME/.config";
XDG_DATA_HOME = "$HOME/.local/share";
XDG_STATE_HOME = "$HOME/.local/state";
};
programs.home-manager.enable = true; programs.home-manager.enable = true;