adds duplicati notif

This commit is contained in:
Menno van Leeuwen 2024-11-14 22:30:42 +01:00
parent e83ebe2d2c
commit 6bb22de9ce
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE
2 changed files with 12 additions and 0 deletions

View File

@ -8,6 +8,9 @@
{ {
imports = [ /etc/nixos/hardware-configuration.nix ]; imports = [ /etc/nixos/hardware-configuration.nix ];
networking.hostName = "mennos-gamingpc"; networking.hostName = "mennos-gamingpc";
networking.interfaces.enp8s0.wakeOnLan = {
enable = true;
};
# Bootloader. # Bootloader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;

View File

@ -113,6 +113,15 @@
tls.certResolver = "letsencrypt"; tls.certResolver = "letsencrypt";
}; };
services.personal-site.loadBalancer.servers = [ { url = "http://127.0.0.1:4203"; } ]; services.personal-site.loadBalancer.servers = [ { url = "http://127.0.0.1:4203"; } ];
# Duplicati Notification Server
routers.duplicati-notif = {
rule = "Host(`duplicati-notifications.mvl.sh`)";
service = "duplicati-notif";
entryPoints = [ "websecure" ];
tls.certResolver = "letsencrypt";
};
services.duplicati-notif.loadBalancer.servers = [ { url = "http://127.0.0.1:5334"; } ];
}; };
}; };
}; };