1
0
Fork 0

specify XDG_CACHE_HOME, workaround to error writing to /var/empty/.cache

This commit is contained in:
kiara Grouwstra 2025-03-26 10:53:28 +01:00
parent 3cbacac2f1
commit 827b771a98
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -140,6 +140,7 @@ class DeploymentStatus(ConfigurationForm):
"PATH": settings.bin_path,
# used in nixos-anywhere for ssh-copy-id
"HOME": expanduser("~"),
"XDG_CACHE_HOME": "/tmp",
} | {
# pass in form info to our deployment
# FIXME: ensure sensitive info is protected