diff --git a/hosts/odyssey/default.nix b/hosts/odyssey/default.nix index a91581b..2e59689 100644 --- a/hosts/odyssey/default.nix +++ b/hosts/odyssey/default.nix @@ -69,6 +69,29 @@ with lib.my; }; }; + services.borgmatic = { + enable = true; + settings = { + location = { + source_directories = [ + "/home/jordan/Documents" + ]; + repositories = [ + "ssh://s6ac8m61@s6ac8m61.repo.borgbase.com/./repo" + ]; + }; + storage = { + encryption_passcommand = "cat /run/agenix/odyssey_borg_passphrase"; + ssh_command = "ssh -i /etc/ssh/ssh_host_ed25519_key"; + }; + retention = { + keep_daily = 7; + keep_weekly = 4; + keep_monthly = 6; + }; + }; + }; + modules = { desktop = { apps.qbittorrent.enable = true;