moved firewall rules next to required module

This commit is contained in:
Nickiel12 2023-10-08 17:35:03 -07:00
parent 8954974c75
commit d5de5c9ad9
2 changed files with 6 additions and 2 deletions

View file

@ -41,8 +41,7 @@
};
firewall = {
enable = true;
allowedTCPPorts = [53 80 443 3001 5432]; # port 3001 opened to allow git traffic on the local netword
allowedUDPPorts = [53];
allowedTCPPorts = [80 443 3001 5432]; # port 3001 opened to allow git traffic on the local netword
};
};

View file

@ -1,6 +1,11 @@
{ config, lib, pkgs, ...}:
{
networking.firewall = {
allowedTCPPorts = [53];
allowedUDPPorts = [53];
};
services.dnsmasq = {
enable = true;
alwaysKeepRunning = true;