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: write_files:
- path: /run/cloud-init-env - path: /run/cloud-init-env
content: | content: |
%{~if each.value.flake_branch != null~} %{~ if each.value.flake_branch != null ~}
NIXOS_FLAKE_BRANCH=${each.value.flake_branch} NIXOS_FLAKE_BRANCH=${each.value.flake_branch}
%{~endif~} %{~ endif ~}
%{~if each.value.vault_wrapped_token != null~} %{~ if each.value.vault_wrapped_token != null ~}
VAULT_ADDR=https://vault01.home.2rjus.net:8200 VAULT_ADDR=https://vault01.home.2rjus.net:8200
VAULT_WRAPPED_TOKEN=${each.value.vault_wrapped_token} VAULT_WRAPPED_TOKEN=${each.value.vault_wrapped_token}
VAULT_SKIP_VERIFY=1 VAULT_SKIP_VERIFY=1
%{~endif~} %{~ endif ~}
permissions: '0600' permissions: '0600'
FILES FILES
: ""} : ""}