diff --git a/hosts/common/optional/dbt_profiles.nix b/hosts/common/optional/dbt_profiles.nix index 49a6e1b..9acb62a 100644 --- a/hosts/common/optional/dbt_profiles.nix +++ b/hosts/common/optional/dbt_profiles.nix @@ -4,7 +4,6 @@ let in { sops.templates."dbt_profiles.yml" = { - path = "/run/secrets/templates/dbt/profiles.yml"; mode = "0600"; content = '' baseddata: diff --git a/hosts/common/optional/nixos-containers/baseddata-worker.nix b/hosts/common/optional/nixos-containers/baseddata-worker.nix index 8c4059f..c645b59 100644 --- a/hosts/common/optional/nixos-containers/baseddata-worker.nix +++ b/hosts/common/optional/nixos-containers/baseddata-worker.nix @@ -94,8 +94,8 @@ in { isReadOnly = false; }; "/root/.dbt/profiles.yml" = { - hostPath = "/run/secrets/templates/dbt/profiles.yml"; - isReadOnly = false; + hostPath = "/run/secrets/rendered/dbt_profiles.yml"; + isReadOnly = true; }; };