1

feat: conform to xdg base directories

This commit is contained in:
Himadri Bhattacharjee
2025-10-16 18:17:00 +05:30
parent c6b5c31df2
commit 9cec62880a
2 changed files with 5 additions and 0 deletions

View File

@@ -24,6 +24,7 @@
./mpv.nix
];
xdg.enable = true;
home = {
sessionVariables = {
# these mfs pollute my home directory
@@ -44,6 +45,9 @@
JULIAUP_DEPOT_PATH = "${config.xdg.dataHome}/julia";
CARGO_HOME = "${config.xdg.dataHome}/cargo";
PSQL_HISTORY = "${config.xdg.stateHome}/psql_history";
PYTHON_HISTORY = "${config.xdg.stateHome}/python_history";
SQLITE_HISTORY="${config.xdg.stateHome}/sqlite_history";
};
sessionPath = [