diff --git a/lib/modules/rclone.nix b/lib/modules/rclone.nix index b245af8..05925e9 100644 --- a/lib/modules/rclone.nix +++ b/lib/modules/rclone.nix @@ -66,8 +66,7 @@ let }; config = { - secretsScript = builtins.concatStringsSep - "\n" + secretsScript = lib.strings.concatLines (builtins.attrValues ( builtins.mapAttrs (name: path: "${name}=\"$(cat ${lib.escapeShellArg path})\"")