feat(xdg): vars for wakatime, Haskell stack

This commit is contained in:
winston 2024-05-21 18:00:32 +02:00
parent 2c12ab9272
commit 3a7ee3e51a
Signed by: winston
GPG key ID: 3786770EDBC2B481
2 changed files with 3 additions and 2 deletions

View file

@ -39,7 +39,6 @@ in
nvd nvd
ranger ranger
ripgrep ripgrep
wakatime
watchexec watchexec
] ]
++ lib.optionals (config.isGraphical && isLinux) [ ++ lib.optionals (config.isGraphical && isLinux) [
@ -62,5 +61,5 @@ in
taskwarrior.enable = true; taskwarrior.enable = true;
}; };
age.secrets."wakatime.cfg".path = "${config.home.homeDirectory}/.wakatime.cfg"; age.secrets."wakatime.cfg".path = "${config.home.sessionVariables.WAKATIME_HOME}/.wakatime.cfg";
} }

View file

@ -34,7 +34,9 @@ in
NODE_REPL_HISTORY = "${dataHome}/node_repl_history"; NODE_REPL_HISTORY = "${dataHome}/node_repl_history";
NPM_CONFIG_USERCONFIG = "${configHome}/npm/npmrc"; NPM_CONFIG_USERCONFIG = "${configHome}/npm/npmrc";
RUSTUP_HOME = "${dataHome}/rustup"; RUSTUP_HOME = "${dataHome}/rustup";
STACK_ROOT = "${dataHome}/stack";
W3M_DIR = "${dataHome}/w3m"; W3M_DIR = "${dataHome}/w3m";
WAKATIME_HOME = "${dataHome}/wakatime";
WINEPREFIX = "${dataHome}/wine"; WINEPREFIX = "${dataHome}/wine";
}; };
sessionPath = sessionPath =