Compare commits
1 Commits
2b4dc424cc
...
f5904738b0
| Author | SHA1 | Date | |
|---|---|---|---|
|
f5904738b0
|
@@ -19,14 +19,14 @@ ${each.value.flake_branch != null || each.value.vault_wrapped_token != null ? <<
|
||||
write_files:
|
||||
- path: /run/cloud-init-env
|
||||
content: |
|
||||
%{~ if each.value.flake_branch != null ~}
|
||||
%{~if each.value.flake_branch != null~}
|
||||
NIXOS_FLAKE_BRANCH=${each.value.flake_branch}
|
||||
%{~ endif ~}
|
||||
%{~ if each.value.vault_wrapped_token != null ~}
|
||||
%{~endif~}
|
||||
%{~if each.value.vault_wrapped_token != null~}
|
||||
VAULT_ADDR=https://vault01.home.2rjus.net:8200
|
||||
VAULT_WRAPPED_TOKEN=${each.value.vault_wrapped_token}
|
||||
VAULT_SKIP_VERIFY=1
|
||||
%{~ endif ~}
|
||||
%{~endif~}
|
||||
permissions: '0600'
|
||||
FILES
|
||||
: ""}
|
||||
|
||||
Reference in New Issue
Block a user