chore(user/module/restic): change repository address
This commit is contained in:
parent
358c7fd01a
commit
1cfb979b94
|
@ -13,7 +13,7 @@
|
|||
resticCmd = "${pkgs.restic}/bin/restic";
|
||||
inherit (config.home) username;
|
||||
|
||||
repository = "rest:http://faunus-ater:8000/${username}";
|
||||
repository = "s3:https://s3.tammena.me/restic/${username}";
|
||||
passwordFile = nixosConfig.sops.secrets."restic-backup-${username}".path;
|
||||
defaultPruneOpts = [
|
||||
"--keep-hourly 5"
|
||||
|
@ -61,7 +61,7 @@ in {
|
|||
Type = "oneshot";
|
||||
ExecStart = [
|
||||
# Start by backing up every directory requested
|
||||
"${resticCmd} backup --cache-dir=%C/restic-backups-to-faunus-ater ${
|
||||
"${resticCmd} backup --retry-lock 5m --cache-dir=%C/restic-backups-to-faunus-ater ${
|
||||
toString cfg.paths
|
||||
}"
|
||||
# Prune old backups to keep the repo tidy
|
||||
|
|
Loading…
Reference in a new issue