mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 22:50:19 +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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
imports = [
|
||||
./backups.nix
|
||||
./fail2ban.nix
|
||||
./nextcloud.nix
|
||||
# ./nextcloud.nix
|
||||
./uptime-kuma.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
|
||||
# ssh, https, nextcloud, uptime-kuma
|
||||
}
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue