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";
};
};
}

View file

@ -3,7 +3,7 @@
imports = [
./backups.nix
./fail2ban.nix
./nextcloud.nix
# ./nextcloud.nix
./uptime-kuma.nix
];
}

View file

@ -1,4 +1,4 @@
{ config, ... }:
{
# ssh, https, nextcloud, uptime-kuma
}

View file

@ -11,7 +11,7 @@
reverse_proxy :4000
'';
services.caddy.virtualHosts."http://uptime.sisyphe.normandy.hypervirtual.world".extraConfig = ''
services.caddy.virtualHosts."http://uptime.diva.global.hypervirtual.world".extraConfig = ''
reverse_proxy :4000
'';
}