fix: DERP port not being opened

This commit is contained in:
Nydragon 2024-10-13 19:53:47 +02:00
parent 8add0ecda8
commit 9d105e3b84
Signed by: nydragon
SSH key fingerprint: SHA256:iQnIC12spf4QjWSbarmkD2No1cLMlu6TWoV7K6cYF5g
3 changed files with 6 additions and 4 deletions

View file

@ -20,6 +20,7 @@
zls
typescript
nodePackages_latest.typescript-language-server
superhtml
kdePackages.qtdeclarative # QML formatter

View file

@ -9,6 +9,7 @@
"FORGEJO__migrations__ALLOWED_DOMAINS" = "*";
"FORGEJO__server__SSH_PORT" = "222";
"FORGEJO__service__DISABLE_REGISTRATION" = "true";
"FORGEJO__federation__ENABLED" = "true";
};
volumes = [
"test_forgejo:/data:rw"

View file

@ -20,6 +20,10 @@ in
mkIf config.services.headscale.enable {
environment.systemPackages = [ config.services.headscale.package ];
networking.firewall.allowedTCPPorts = [
3478 # DERP
];
services = {
headscale = {
address = "127.0.0.1";
@ -102,10 +106,6 @@ mkIf config.services.headscale.enable {
};
};
networking.firewall.allowedTCPPorts = [
3478 # DERP
];
nginx.virtualHosts."hs.ccnlc.eu" = {
forceSSL = true;
enableACME = true;