mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 20:59:32 -08:00
added derp to firewall
This commit is contained in:
parent
a7d563b06c
commit
bc846c0fea
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,10 @@ let
|
|||
in {
|
||||
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
|
||||
boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = 1;
|
||||
|
||||
# open for DERP
|
||||
networking.firewall.allowedUDPPorts = [ 3478 ];
|
||||
|
||||
# https://carjorvaz.com/posts/setting-up-headscale-on-nixos/
|
||||
services.headscale = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue