sops.template."dir.conf".file = ./bacula-dir.conf does not work as expected.
The reason seems to be that when I try to use ${config.sops.placeholder.bacula-dbpass} like in content it does not get replaced by the right string. Is there an easy way to fix this or is this by design?
sops.template."dir.conf".file = ./bacula-dir.conf
does not work as expected.The reason seems to be that when I try to use
${config.sops.placeholder.bacula-dbpass}
like in content it does not get replaced by the right string. Is there an easy way to fix this or is this by design?If it is by design how are you supposed to do it?
For further reference see https://github.com/RaHoni/nixos-conf/blob/54b6cf2a49c01a256e359eaa1a0a7654375113fb/bacula/dir.nix#L23