adds duplicati notif
This commit is contained in:
parent
e83ebe2d2c
commit
6bb22de9ce
@ -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;
|
||||||
|
@ -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"; } ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user