From a777f629ce33c0373e4d6ba8b7a8206dfeb47dfb Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Sun, 4 May 2025 14:35:44 +0200 Subject: [PATCH] backwards: Do not backup `reading-material` to the cloud --- hosts/backwards/modules/restic/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/backwards/modules/restic/default.nix b/hosts/backwards/modules/restic/default.nix index 6ead640..72f32f8 100644 --- a/hosts/backwards/modules/restic/default.nix +++ b/hosts/backwards/modules/restic/default.nix @@ -46,6 +46,7 @@ in repositoryFile = config.age.secrets.restic-cloud-sync-repository.path; paths = [ "/home/alex/sync" ]; + exclude = [ "/home/alex/sync/reading-material" ]; timerConfig = { OnCalendar = "*-*-* 0/12:00:00"; # Every 12th hour, i.e. twice a day @@ -65,7 +66,8 @@ in secrets = { "restic-password".file = ../../../../secrets/backwards/restic-password.age; "restic-cloud-sync-key".file = ../../../../secrets/backwards/restic-cloud-sync-key.age; - "restic-cloud-sync-repository".file = ../../../../secrets/backwards/restic-cloud-sync-repository.age; + "restic-cloud-sync-repository".file = + ../../../../secrets/backwards/restic-cloud-sync-repository.age; }; }; };