added diva support

This commit is contained in:
chloe 2025-05-07 19:51:44 +02:00
parent cf5af467fa
commit 2113e53b7e
8 changed files with 108 additions and 25 deletions

View file

@ -1,4 +1,24 @@
{ ... }:
{
services.borgmatic.enable = true;
services.borgmatic = {
enable = true;
configurations = {
storageBox = {
postgresql_databases = [
{ name = "nextcloud"; }
];
};
};
};
systemd.timers."borgmatic" = {
enable = true;
wantedBy = [ "timers.target" ];
timerConfig = {
OnCalendar = "*-*-* 03:00:00";
Persistent = true;
WakeSystem = true;
Unit = "borgmatic.service";
};
};
}