Fix rclone config

This commit is contained in:
Inex Code 2021-11-30 23:49:35 +03:00
parent df2453a6fa
commit 4c59657fc9

View file

@ -15,10 +15,10 @@ in
CLOUDFLARE_ZONE_API_TOKEN=${cfg.cloudflare.apiKey} CLOUDFLARE_ZONE_API_TOKEN=${cfg.cloudflare.apiKey}
''; '';
rcloneConfig = builtins.replaceStrings [ "\n" "\"" "\\" ] [ "\\n" "\\\"" "\\\\" ] '' rcloneConfig = builtins.replaceStrings [ "\n" "\"" "\\" ] [ "\\n" "\\\"" "\\\\" ] ''
[backblaze] [backblaze]
type = b2 type = b2
account = cfg.backblaze.accountId; account = ${cfg.backblaze.accountId}
key = cfg.backblaze.accountKey; key = ${cfg.backblaze.accountKey}
''; '';
in in
[ [