Expose firewall port and chat redirect

This commit is contained in:
2022-04-26 02:40:32 +01:00
parent 9f852c7202
commit 161f26b3f3
2 changed files with 13 additions and 2 deletions

View File

@@ -22,8 +22,16 @@
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
networking.hostName = "dingserver";
networking.interfaces.ens3.useDHCP = true;
networking = {
hostName = "dingserver";
interfaces.ens3.useDHCP = true;
firewall.interfaces = {
"tailscale0" = {
allowedUDPPorts = [ 41641 ];
};
};
};
environment.systemPackages = with pkgs; [
helix