From 0707dd7f72f9cc8aaa69f948c767b8ae71006696 Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Sun, 6 Jul 2025 09:22:53 -0400 Subject: [PATCH] that doesnt exist anymore --- hosts/nixos/HandlerOne/backup.nix | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/hosts/nixos/HandlerOne/backup.nix b/hosts/nixos/HandlerOne/backup.nix index 505ea8c..b79b83b 100644 --- a/hosts/nixos/HandlerOne/backup.nix +++ b/hosts/nixos/HandlerOne/backup.nix @@ -32,18 +32,17 @@ in lib, config, ... - }: - lib.mkIf config.user.overseer.enable { - # Restic secrets - sops.secrets."restic/borg-base/url" = {}; - sops.secrets."restic/borg-base/key" = {}; + }: { + # Restic secrets + sops.secrets."restic/borg-base/url" = {}; + sops.secrets."restic/borg-base/key" = {}; - services.restic.backups = { - borg-base = - restic-default - // { - repositoryFile = config.sops.secrets."restic/borg-base/url".path; - passwordFile = config.sops.secrets."restic/borg-base/key".path; - }; - }; - } + services.restic.backups = { + borg-base = + restic-default + // { + repositoryFile = config.sops.secrets."restic/borg-base/url".path; + passwordFile = config.sops.secrets."restic/borg-base/key".path; + }; + }; + }