forked from Fediversity/Fediversity
terraform-nixos #1
1 changed files with 4 additions and 2 deletions
|
@ -138,8 +138,10 @@ class DeploymentStatus(ConfigurationForm):
|
||||||
deployment_params = dummy_user | json.loads(submission)
|
deployment_params = dummy_user | json.loads(submission)
|
||||||
env = {
|
env = {
|
||||||
"PATH": settings.bin_path,
|
"PATH": settings.bin_path,
|
||||||
# used in nixos-anywhere for ssh-copy-id
|
# used in nixos-anywhere for ssh-copy-id to make `.ssh` in for ssh-copy-id.
|
||||||
"HOME": expanduser("~"),
|
# 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",
|
"XDG_CACHE_HOME": "/tmp",
|
||||||
} | {
|
} | {
|
||||||
# pass in form info to our deployment
|
# pass in form info to our deployment
|
||||||
|
|
Loading…
Add table
Reference in a new issue