restic: separate backup repository per host

This commit is contained in:
Noah Masur committed 2026-09-29 01:40:05 +00:00
1 parent acace54649
commit 4299074dff
2 files changed
+9 -1

No files matched your search

@@ -44,7 +44,8 @@ in
services.restic.backups = {
default = {
repository = "s3:${cfg.s3.endpoint}/${cfg.s3.bucket}/restic";
repository = "s3:${cfg.s3.endpoint}/${cfg.s3.bucket}/restic/${config.networking.hostName}";
initialize = true;
paths = [ ];
environmentFile = config.secrets.restic-s3-creds.dest;
passwordFile = config.secrets.restic.dest;