feat(users/Profpatsch): add xdg-cache-home

Change-Id: I0f4efa16426f590cee9332d11c13dd07569b4acb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12475
Reviewed-by: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
This commit is contained in:
Profpatsch 2024-09-13 15:08:16 +02:00
parent af5ce5489f
commit 5c57529675

View file

@ -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"
]