{ config, pkgs, inputs, ... }: { networking = { # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ]; # Or disable the firewall altogether. # networking.firewall.enable = false; firewall = { enable = true; allowedTCPPorts = [ ]; allowedUDPPorts = [ ]; }; # resolvconf.dnsExtensionMechanism = false; # Will disable edns extended dns helpful if when traveling there is issues with dns resolution (requires a restart) # wireless.enable = true; # Enables wireless support via wpa_supplicant. # Configure network proxy if necessary # proxy.default = "http://user:password@proxy:port/"; # proxy.noProxy = "127.0.0.1,localhost,internal.domain"; # Enable networking networkmanager.enable = true; extraHosts = '' 127.0.0.1 platform.test ''; }; }