hydra is added to wallfacer

This commit is contained in:
Osman Faruk Bayram 2025-07-27 15:49:30 +03:00
parent 71fe24c189
commit 6b9a322f62

View file

@ -1,6 +1,7 @@
{ lib, ... }:
let
hydraPort = 54543;
wallfacerTailscaleDomain = "wallfacer.curl-boga.ts.net";
in
{
imports = [
@ -11,9 +12,18 @@ in
enableKDE = false;
enableFonts = false;
enableNextcloud = true;
enableHydra = true;
};
services.caddy.virtualHosts = {
"${wallfacerTailscaleDomain}" = {
extraConfig = ''
handle_path /hydra* {
reverse_proxy localhost:${toString hydraPort}
}
'';
};
};
networking.firewall.allowedTCPPorts = [ hydraPort ];
boot.loader.systemd-boot.enable = true;