Update allowed ports and nameservers
This commit is contained in:
parent
1f83293b07
commit
28e2f9e82c
|
@ -14,9 +14,9 @@
|
||||||
|
|
||||||
networking.hostName = "Vanguard"; # Define your hostname.
|
networking.hostName = "Vanguard"; # Define your hostname.
|
||||||
#networking.wireless.networks."LAN LAN Ranch".pskRaw = "d4c31e976456783b61d573ee49c94f93914a81bf1048c2f2e1e166c36bdfcd4a";
|
#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;
|
services.openssh.enable = true;
|
||||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
networking.firewall = { enable = true; allowedTCPPorts = [ 22 ]; };
|
||||||
|
|
||||||
services.xserver.displayManager.defaultSession = "steam";
|
services.xserver.displayManager.defaultSession = "steam";
|
||||||
|
|
||||||
|
|
|
@ -6,5 +6,5 @@
|
||||||
mutableSettings = true;
|
mutableSettings = true;
|
||||||
};
|
};
|
||||||
services.nginx.virtualHosts."guard.xenia.me.uk" = import ./nginx/sites/adguardhome.nix;
|
services.nginx.virtualHosts."guard.xenia.me.uk" = import ./nginx/sites/adguardhome.nix;
|
||||||
networking.firewall.allowedTCPPorts = [ 53 2900 ];
|
networking.firewall.allowedTCPPorts = [ 53 3000 ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,5 +8,5 @@
|
||||||
recommendedOptimisation = lib.mkDefault true;
|
recommendedOptimisation = lib.mkDefault true;
|
||||||
recommendedGzipSettings = lib.mkDefault true;
|
recommendedGzipSettings = lib.mkDefault true;
|
||||||
};
|
};
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
networking.firewall = { enable = true; allowedTCPPorts = [ 80 443 ]; };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue