Fix rclone config

pull/2/head
Inex Code 2021-11-30 23:49:35 +03:00
parent df2453a6fa
commit 4c59657fc9
1 changed files with 4 additions and 4 deletions

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
[ [