aboutsummaryrefslogtreecommitdiff
path: root/hosts/c-pc/networking.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/c-pc/networking.nix')
-rw-r--r--hosts/c-pc/networking.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/hosts/c-pc/networking.nix b/hosts/c-pc/networking.nix
new file mode 100644
index 0000000..31632c1
--- /dev/null
+++ b/hosts/c-pc/networking.nix
@@ -0,0 +1,27 @@
+{ ... }:
+
+{
+ networking = {
+ hostName = "c-pc";
+ hostId = "23ce94ff";
+
+ useDHCP = true;
+
+ wireless = {
+ enable = true;
+
+ environmentFile = "/persist/secrets/wireless.env";
+ networks = {
+ "The Dwyers".psk = "@PSK@";
+ };
+ };
+
+ firewall = {
+ enable = false;
+
+ allowedTCPPorts = [ 8096 50000 ];
+ allowedUDPPorts = [ ];
+ };
+ };
+}
+