Compare commits

..

1 Commits

Author SHA1 Message Date
2b4dc424cc vault: implement bootstrap integration
All checks were successful
Run nix flake check / flake-check (push) Successful in 2m20s
Run nix flake check / flake-check (pull_request) Successful in 2m20s
2026-02-03 00:54:31 +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
: ""}