fix secret path and nix fmt
This commit is contained in:
parent
2607254164
commit
9160bd22fc
2 changed files with 9 additions and 3 deletions
|
@ -31,13 +31,16 @@
|
|||
passCommand = "cat ${config.sops.secrets."borg/rsyncnet".path}";
|
||||
};
|
||||
environment = {
|
||||
BORG_RSH = ''ssh -i ${config.sops.secrets."rsyncnet/id_ed25519"}'';
|
||||
BORG_RSH = ''ssh -i ${config.sops.secrets."rsyncnet/id_ed25519".path}'';
|
||||
BORG_REMOTE_PATH = "borg1";
|
||||
BORG_EXIT_CODES = "modern";
|
||||
};
|
||||
compression = "auto,zstd";
|
||||
startAt = "hourly";
|
||||
extraCreateArgs = [ "--stats" "-x" ];
|
||||
extraCreateArgs = [
|
||||
"--stats"
|
||||
"-x"
|
||||
];
|
||||
# warnings are often not that serious
|
||||
failOnWarnings = false;
|
||||
postHook = ''
|
||||
|
|
|
@ -216,7 +216,10 @@
|
|||
};
|
||||
compression = "auto,zstd";
|
||||
startAt = "daily";
|
||||
extraCreateArgs = [ "--stats" "-x" ];
|
||||
extraCreateArgs = [
|
||||
"--stats"
|
||||
"-x"
|
||||
];
|
||||
# warnings are often not that serious
|
||||
failOnWarnings = false;
|
||||
postHook = ''
|
||||
|
|
Loading…
Add table
Reference in a new issue