feat(tyr): setup local ssl certs finally.

This commit is contained in:
CronyAkatsuki 2025-10-11 19:06:20 +02:00
parent d5ec26a17a
commit 082c6a7e3a
7 changed files with 110 additions and 9 deletions

View file

@ -5,12 +5,25 @@
guiAddress = "0.0.0.0:8384";
};
networking.firewall = {
allowedTCPPorts = [8384];
};
services.restic.backups = {
local.paths = ["/var/lib/syncthing"];
server.paths = ["/var/lib/syncthing"];
};
services.traefik.dynamicConfigOptions.http = {
services.syncthing.loadBalancer.servers = [
{
url = "http://localhost:8384";
}
];
routers.syncthing = {
rule = "Host(`syncthing.home.cronyakatsuki.xyz`)";
tls = {
certResolver = "porkbun";
};
service = "syncthing";
entrypoints = "websecure";
};
};
}