From 83268e7db678cd8f2a319386d0dd595b6b35ea54 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 24 Mar 2023 21:09:52 +0000 Subject: [PATCH] home: xdg: force more XDG compliance Thanks a to a nifty tool [1] I learnt about some more easy fixes. [1]: https://github.com/b3nj5m1n/xdg-ninja --- home/xdg/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/xdg/default.nix b/home/xdg/default.nix index bf49bd4..3fd8dc9 100644 --- a/home/xdg/default.nix +++ b/home/xdg/default.nix @@ -38,6 +38,7 @@ in # I want a tidier home config.home.sessionVariables = with config.xdg; lib.mkIf cfg.enable { + ANDROID_HOME = "${dataHome}/android"; CARGO_HOME = "${dataHome}/cargo"; DOCKER_CONFIG = "${configHome}/docker"; GDBHISTFILE = "${dataHome}/gdb/gdb_history"; @@ -45,5 +46,8 @@ in INPUTRC = "${configHome}/readline/inputrc"; LESSHISTFILE = "${dataHome}/less/history"; LESSKEY = "${configHome}/less/lesskey"; + PSQL_HISTORY = "${dataHome}/psql_history"; + REDISCLI_HISTFILE = "${dataHome}/redis/rediscli_history"; + XCOMPOSECACHE = "${dataHome}/X11/xcompose"; }; }