hydra is added to wallfacer
This commit is contained in:
parent
71fe24c189
commit
6b9a322f62
1 changed files with 11 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue