fix secret path and nix fmt

This commit is contained in:
cy 2024-12-20 18:54:20 -05:00
parent 2607254164
commit 9160bd22fc
2 changed files with 9 additions and 3 deletions

View file

@ -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 = ''

View file

@ -216,7 +216,10 @@
};
compression = "auto,zstd";
startAt = "daily";
extraCreateArgs = [ "--stats" "-x" ];
extraCreateArgs = [
"--stats"
"-x"
];
# warnings are often not that serious
failOnWarnings = false;
postHook = ''