1
0
Fork 0

deploy button: for cache dir use the system-user-writable /tmp

This commit is contained in:
kiara Grouwstra 2025-03-20 13:59:04 +01:00
parent 82d2be76ea
commit ef0d01bcd5
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -60,6 +60,8 @@ class ConfigurationForm(LoginRequiredMixin, FormView):
env = {
# pass in form info to our deployment
"DEPLOYMENT": deployment,
# as we trigger nixops thru nix, specify a cache directory for nix
"XDG_CACHE_HOME": "/tmp",
}
cmd = [
settings.nix_bin,