Update allowed ports and nameservers

This commit is contained in:
Evie Litherland-Smith 2023-05-09 07:48:48 +01:00
parent 1f83293b07
commit 28e2f9e82c
3 changed files with 4 additions and 4 deletions

View file

@ -14,9 +14,9 @@
networking.hostName = "Vanguard"; # Define your hostname.
#networking.wireless.networks."LAN LAN Ranch".pskRaw = "d4c31e976456783b61d573ee49c94f93914a81bf1048c2f2e1e166c36bdfcd4a";
networking.nameservers = [ "192.168.1.166" ];
networking.nameservers = [ "192.168.1.166" "9.9.9.9" ];
services.openssh.enable = true;
networking.firewall.allowedTCPPorts = [ 22 ];
networking.firewall = { enable = true; allowedTCPPorts = [ 22 ]; };
services.xserver.displayManager.defaultSession = "steam";

View file

@ -6,5 +6,5 @@
mutableSettings = true;
};
services.nginx.virtualHosts."guard.xenia.me.uk" = import ./nginx/sites/adguardhome.nix;
networking.firewall.allowedTCPPorts = [ 53 2900 ];
networking.firewall.allowedTCPPorts = [ 53 3000 ];
}

View file

@ -8,5 +8,5 @@
recommendedOptimisation = lib.mkDefault true;
recommendedGzipSettings = lib.mkDefault true;
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.firewall = { enable = true; allowedTCPPorts = [ 80 443 ]; };
}