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
|
zls
|
||||||
typescript
|
typescript
|
||||||
nodePackages_latest.typescript-language-server
|
nodePackages_latest.typescript-language-server
|
||||||
|
superhtml
|
||||||
|
|
||||||
kdePackages.qtdeclarative # QML formatter
|
kdePackages.qtdeclarative # QML formatter
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
"FORGEJO__migrations__ALLOWED_DOMAINS" = "*";
|
"FORGEJO__migrations__ALLOWED_DOMAINS" = "*";
|
||||||
"FORGEJO__server__SSH_PORT" = "222";
|
"FORGEJO__server__SSH_PORT" = "222";
|
||||||
"FORGEJO__service__DISABLE_REGISTRATION" = "true";
|
"FORGEJO__service__DISABLE_REGISTRATION" = "true";
|
||||||
|
"FORGEJO__federation__ENABLED" = "true";
|
||||||
};
|
};
|
||||||
volumes = [
|
volumes = [
|
||||||
"test_forgejo:/data:rw"
|
"test_forgejo:/data:rw"
|
||||||
|
|
|
@ -20,6 +20,10 @@ in
|
||||||
mkIf config.services.headscale.enable {
|
mkIf config.services.headscale.enable {
|
||||||
environment.systemPackages = [ config.services.headscale.package ];
|
environment.systemPackages = [ config.services.headscale.package ];
|
||||||
|
|
||||||
|
networking.firewall.allowedTCPPorts = [
|
||||||
|
3478 # DERP
|
||||||
|
];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
headscale = {
|
headscale = {
|
||||||
address = "127.0.0.1";
|
address = "127.0.0.1";
|
||||||
|
@ -102,10 +106,6 @@ mkIf config.services.headscale.enable {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [
|
|
||||||
3478 # DERP
|
|
||||||
];
|
|
||||||
|
|
||||||
nginx.virtualHosts."hs.ccnlc.eu" = {
|
nginx.virtualHosts."hs.ccnlc.eu" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue