feat[server]: add hydra

This commit is contained in:
Leon Schwarzäugl 2025-12-10 22:01:20 +01:00
parent 0cb34c98cb
commit 9f9f764899
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
21 changed files with 652 additions and 164 deletions

View file

@ -117,7 +117,7 @@ in
PresharedKeyFile = config.sops.secrets."wireguard-${serverName}-${config.node.name}-presharedKey".path;
Endpoint = "server.${serverName}.${globals.domains.main}:${toString servicePort}";
# Access to the whole network is routed through our entry node.
# PersistentKeepalive = 25;
PersistentKeepalive = 25;
AllowedIPs =
let
wgNetwork = globals.networks."${serverNetConfigPrefix}-wg";