diff --git a/home/jonas/borg.nix b/home/jonas/borg.nix index 572b996..ef79064 100644 --- a/home/jonas/borg.nix +++ b/home/jonas/borg.nix @@ -86,6 +86,27 @@ in { }; consistency.checks = defaultChecks; }; + sec = { + location = { + sourceDirectories = [ + "${config.xdg.configHome}/sops" + ]; + repositories = [repo]; + excludeHomeManagerSymlinks = true; + extraConfig = { + archive_name_format = "{hostname}-sec-{now}"; + }; + }; + retention = { + keepDaily = 7; + keepWeekly = 2; + keepMonthly = 6; + }; + storage = { + encryptionPasscommand = encCmd; + }; + consistency.checks = defaultChecks; + }; var = { location = { sourceDirectories = [