fix: DERP port not being opened
This commit is contained in:
parent
8add0ecda8
commit
9d105e3b84
3 changed files with 6 additions and 4 deletions
|
@ -20,6 +20,7 @@
|
|||
zls
|
||||
typescript
|
||||
nodePackages_latest.typescript-language-server
|
||||
superhtml
|
||||
|
||||
kdePackages.qtdeclarative # QML formatter
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue