fix sops-nix issue with not creating secrets dir

- caused by inclusion of dbt_profiles path in template
This commit is contained in:
Sam 2025-01-09 17:34:00 +00:00
parent afb138aa94
commit 000409e402
2 changed files with 2 additions and 3 deletions

View File

@ -4,7 +4,6 @@ let
in in
{ {
sops.templates."dbt_profiles.yml" = { sops.templates."dbt_profiles.yml" = {
path = "/run/secrets/templates/dbt/profiles.yml";
mode = "0600"; mode = "0600";
content = '' content = ''
baseddata: baseddata:

View File

@ -94,8 +94,8 @@ in {
isReadOnly = false; isReadOnly = false;
}; };
"/root/.dbt/profiles.yml" = { "/root/.dbt/profiles.yml" = {
hostPath = "/run/secrets/templates/dbt/profiles.yml"; hostPath = "/run/secrets/rendered/dbt_profiles.yml";
isReadOnly = false; isReadOnly = true;
}; };
}; };