diff --git a/modules/services/borgmatic/default.nix b/modules/services/borgmatic/default.nix index 05cf051..609bfec 100644 --- a/modules/services/borgmatic/default.nix +++ b/modules/services/borgmatic/default.nix @@ -39,15 +39,11 @@ in { repositories = [ { label = "borgbase"; path = cfg.repoPath; } ]; - storage = { - encryption_passcommand = "cat ${config.age.secrets."passwords/services/borg/${hostname}-passphrase".path}"; - ssh_command = "ssh -i /etc/ssh/ssh_host_ed25519_key"; - }; - retention = { - keep_daily = 7; - keep_weekly = 4; - keep_monthly = 6; - }; + encryption_passcommand = "cat ${config.age.secrets."passwords/services/borg/${hostname}-passphrase".path}"; + ssh_command = "ssh -i /etc/ssh/ssh_host_ed25519_key"; + keep_daily = 7; + keep_weekly = 4; + keep_monthly = 6; }; };