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}";
|
passCommand = "cat ${config.sops.secrets."borg/rsyncnet".path}";
|
||||||
};
|
};
|
||||||
environment = {
|
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_REMOTE_PATH = "borg1";
|
||||||
BORG_EXIT_CODES = "modern";
|
BORG_EXIT_CODES = "modern";
|
||||||
};
|
};
|
||||||
compression = "auto,zstd";
|
compression = "auto,zstd";
|
||||||
startAt = "hourly";
|
startAt = "hourly";
|
||||||
extraCreateArgs = [ "--stats" "-x" ];
|
extraCreateArgs = [
|
||||||
|
"--stats"
|
||||||
|
"-x"
|
||||||
|
];
|
||||||
# warnings are often not that serious
|
# warnings are often not that serious
|
||||||
failOnWarnings = false;
|
failOnWarnings = false;
|
||||||
postHook = ''
|
postHook = ''
|
||||||
|
|
|
@ -216,7 +216,10 @@
|
||||||
};
|
};
|
||||||
compression = "auto,zstd";
|
compression = "auto,zstd";
|
||||||
startAt = "daily";
|
startAt = "daily";
|
||||||
extraCreateArgs = [ "--stats" "-x" ];
|
extraCreateArgs = [
|
||||||
|
"--stats"
|
||||||
|
"-x"
|
||||||
|
];
|
||||||
# warnings are often not that serious
|
# warnings are often not that serious
|
||||||
failOnWarnings = false;
|
failOnWarnings = false;
|
||||||
postHook = ''
|
postHook = ''
|
||||||
|
|
Loading…
Add table
Reference in a new issue