From 823fd2fc1d0fe099837dfd3bb83bfdfae32e634d Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 16 May 2024 01:58:46 +0200 Subject: [PATCH] Fix incorrect config file content --- lib/modules/rclone.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}