diff --git a/lib/modules/rclone.nix b/lib/modules/rclone.nix index 2bb38a8..8798084 100644 --- a/lib/modules/rclone.nix +++ b/lib/modules/rclone.nix @@ -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}