Compare commits

...

2 Commits

Author SHA1 Message Date
bfe6ed84f2
refactor(hm/price): ensure starship uses XDG_CACHE_HOME
Some checks failed
Check Formatting of Files / Check-Formatting (push) Has been cancelled
2024-08-29 22:55:34 -05:00
e2a34d0868
refactor(hm/price): set xdg cacheHome under ~/.local 2024-08-29 22:55:06 -05:00
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,7 @@
{ config, pkgs, ... }:
{
home = {
packages = [ pkgs.starship ];
sessionVariables.STARSHIP_CACHE = "${config.xdg.cacheHome}/starship";
};
}

View File

@ -56,7 +56,6 @@ in
unzip unzip
Fmt Fmt
screen-cap screen-cap
starship
nodePackages.prettier nodePackages.prettier
cargo cargo
clippy clippy
@ -176,6 +175,7 @@ in
enable = true; enable = true;
mime.enable = true; mime.enable = true;
systemDirs.data = [ "${config.home.profileDirectory}/share/" ]; systemDirs.data = [ "${config.home.profileDirectory}/share/" ];
cacheHome = "${config.home.homeDirectory}/.local/cache";
mimeApps = { mimeApps = {
enable = true; enable = true;
associations.added = { associations.added = {