diff options
author | Profpatsch <mail@profpatsch.de> | 2024-09-13T13·08+0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2024-09-13T13·44+0000 |
commit | 5c57529675b0656bb460cfe8cae5d610067fe105 (patch) | |
tree | 0c05f67d7b23c40a51eda32e80a67721bfce4e8e | |
parent | af5ce5489f309097a395b82e4d7b689dfaff6ec4 (diff) |
feat(users/Profpatsch): add xdg-cache-home r/8686
Change-Id: I0f4efa16426f590cee9332d11c13dd07569b4acb Reviewed-on: https://cl.tvl.fyi/c/depot/+/12475 Reviewed-by: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI
-rw-r--r-- | users/Profpatsch/xdg-cache-home.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/users/Profpatsch/xdg-cache-home.nix b/users/Profpatsch/xdg-cache-home.nix new file mode 100644 index 000000000000..6dc02b7f1d66 --- /dev/null +++ b/users/Profpatsch/xdg-cache-home.nix @@ -0,0 +1,14 @@ +{ depot, pkgs, lib, ... }: +depot.nix.writeExecline "xdg-cache-home" { } [ + "if" + "-n" + [ + "printenv" + "XDG_CACHE_HOME" + ] + "importas" + "HOME" + "HOME" + "echo" + "\${HOME}/.cache" +] |