terraform-nixos #1

Closed
kiara wants to merge 57 commits from terraform-nixos into tf
Showing only changes of commit e02e399a02 - Show all commits

View file

@ -138,8 +138,10 @@ class DeploymentStatus(ConfigurationForm):
deployment_params = dummy_user | json.loads(submission)
env = {
"PATH": settings.bin_path,
# used in nixos-anywhere for ssh-copy-id
"HOME": expanduser("~"),
# used in nixos-anywhere for ssh-copy-id to make `.ssh` in for ssh-copy-id.
# run thru subprocess, HOME points to the read-only `/var/empty`.
# in local dev, it will just reject the `/tmp` and make it in HOME after all.
"HOME": "/tmp",
"XDG_CACHE_HOME": "/tmp",
} | {
# pass in form info to our deployment