Add more backups, going to fix secrets later

This commit is contained in:
Sandro - 2023-11-11 05:01:55 +01:00
parent 93ebde8deb
commit ace75fe2f1
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
9 changed files with 51 additions and 8 deletions

View File

@ -25,10 +25,13 @@
};
};
redis = {
backup = {
enable = true;
paths = [ "/var/lib/activity-relay/" ];
};
redis.enable = true;
nginx = {
enable = true;
virtualHosts."activity-relay.serv.zentralwerk.org" = {

View File

@ -13,6 +13,11 @@
};
services = {
backup = {
enable = true;
paths = [ "/var/lib/portunus/" ];
};
dex.settings.oauth2.skipApprovalScreen = true;
nginx = {

View File

@ -7,6 +7,11 @@
networking.hostName = "blogs";
services = {
bacup = {
backup = true;
paths = [ "/var/lib/plume/" ];
};
nginx = {
enable = true;
virtualHosts."blogs.c3d2.de" = {

View File

@ -10,12 +10,19 @@ _:
networking.hostName = "gnunet";
services.gnunet = {
enable = true;
load = {
# bits/s
maxNetDownBandwidth = 1000 * 1000 * 1000;
maxNetUpBandwidth = 1 * 1000 * 1000;
services = {
backup = {
enable = true;
paths = [ "/var/lib/gnunet/" ];
};
gnunet = {
enable = true;
load = {
# bits/s
maxNetDownBandwidth = 1000 * 1000 * 1000;
maxNetUpBandwidth = 1 * 1000 * 1000;
};
};
};

View File

@ -8,7 +8,10 @@
networking.hostName = "hedgedoc";
services = {
backup.paths = [ "/var/lib/hedgedoc" ];
backup = {
enable = true;
paths = [ "/var/lib/hedgedoc/" ];
};
hedgedoc = {
enable = true;

View File

@ -35,6 +35,11 @@ in
services = {
avahi.enable = true;
backup = {
enable = true;
paths = [ "/var/lib/hass/" ];
};
home-assistant = {
enable = true;
config = {

View File

@ -47,6 +47,11 @@ in
};
services = {
backup = {
enable = true;
paths = [ "/var/lib/dovecot/" "/var/lib/postfix/" ];
};
portunus.addToHosts = true;
postfix = {

View File

@ -10,6 +10,11 @@
networking.hostName = "mobilizon";
services = {
backup = {
exclude = [ "/var/lib/mobilizon/geo/" "/var/lib/mobilizon/secret-env.sh" "/var/lib/mobilizon/tzdata/" ];
paths = [ "/var/lib/mobilizon/" ];
};
mobilizon = {
enable = true;
settings = let

View File

@ -16,6 +16,11 @@
networking.hostName = "sdrweb";
services = {
backup = {
enable = true;
paths = [ "/var/lib/private/openwebrx/" ];
};
collectd.plugins = {
curl_json = ''
<URL "http://localhost:8073/metrics.json">