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}
'';
rcloneConfig = builtins.replaceStrings [ "\n" "\"" "\\" ] [ "\\n" "\\\"" "\\\\" ] ''
[backblaze]
type = b2
account = cfg.backblaze.accountId;
key = cfg.backblaze.accountKey;
[backblaze]
type = b2
account = ${cfg.backblaze.accountId}
key = ${cfg.backblaze.accountKey}
'';
in
[