Compare commits

..

1 Commits

Author SHA1 Message Date
f5904738b0 vault: implement bootstrap integration
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
Run nix flake check / flake-check (pull_request) Successful in 2m30s
2026-02-03 01:09:43 +01:00
5 changed files with 21 additions and 21 deletions

View File

@@ -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
: ""}