Fix incorrect config file content

This commit is contained in:
Manuel Thalmann 2024-05-16 01:58:46 +02:00
parent 85f2de1168
commit 823fd2fc1d

View file

@ -367,7 +367,7 @@ in {
let
configFile = pkgs.writeText
"${serviceName}.conf"
(lib.generators.toINI { } { name = sync.config; });
(lib.generators.toINI { } { ${name} = sync.config; });
script = pkgs.writeShellScriptBin serviceName ''
${sync.secretsScript}
cat ${configFile}