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:
parent
af5ce5489f
commit
5c57529675
1 changed files with 14 additions and 0 deletions
14
users/Profpatsch/xdg-cache-home.nix
Normal file
14
users/Profpatsch/xdg-cache-home.nix
Normal 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"
|
||||
]
|
Loading…
Reference in a new issue