From bfe6ed84f2d9a93c2dcaee58a13b779bbe2f9788 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Thu, 29 Aug 2024 22:55:34 -0500 Subject: [PATCH] refactor(hm/price): ensure `starship` uses XDG_CACHE_HOME --- users/price/conf/starship/default.nix | 7 +++++++ users/price/home.nix | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 users/price/conf/starship/default.nix diff --git a/users/price/conf/starship/default.nix b/users/price/conf/starship/default.nix new file mode 100644 index 00000000..74a0f51b --- /dev/null +++ b/users/price/conf/starship/default.nix @@ -0,0 +1,7 @@ +{ config, pkgs, ... }: +{ + home = { + packages = [ pkgs.starship ]; + sessionVariables.STARSHIP_CACHE = "${config.xdg.cacheHome}/starship"; + }; +} diff --git a/users/price/home.nix b/users/price/home.nix index 063f482b..0efa25cf 100644 --- a/users/price/home.nix +++ b/users/price/home.nix @@ -56,7 +56,6 @@ in unzip Fmt screen-cap - starship nodePackages.prettier cargo clippy