From c0fb50ebc212e117daf00998361c77dea6b78848 Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Sun, 23 Mar 2025 16:18:34 -0400 Subject: [PATCH] fix restic backup --- modules/users/overseer/backups.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/modules/users/overseer/backups.nix b/modules/users/overseer/backups.nix index 9535b6d..4de0d1c 100644 --- a/modules/users/overseer/backups.nix +++ b/modules/users/overseer/backups.nix @@ -33,10 +33,11 @@ in sops.secrets."restic/borg-base/key" = {}; services.restic.backups = { - borg-base = { - inherit restic-default; - repositoryFile = config.sops.secrets."restic/borg-base/url".path; - passwordFile = config.sops.secrets."restic/borg-base/key".path; - }; + borg-base = + restic-default + // { + repositoryFile = config.sops.secrets."restic/borg-base/url".path; + passwordFile = config.sops.secrets."restic/borg-base/key".path; + }; }; }