mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-09 23:20:18 +02:00
added diva support
This commit is contained in:
parent
cf5af467fa
commit
2113e53b7e
8 changed files with 108 additions and 25 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue