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 let
configFile = pkgs.writeText configFile = pkgs.writeText
"${serviceName}.conf" "${serviceName}.conf"
(lib.generators.toINI { } { name = sync.config; }); (lib.generators.toINI { } { ${name} = sync.config; });
script = pkgs.writeShellScriptBin serviceName '' script = pkgs.writeShellScriptBin serviceName ''
${sync.secretsScript} ${sync.secretsScript}
cat ${configFile} cat ${configFile}