From 65174b4b5c05bb143e6681a4cbcd0a95f04987e2 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Thu, 18 Jul 2024 23:39:42 -0700 Subject: Begin modularization! --- hosts/c-pc/networking.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 hosts/c-pc/networking.nix (limited to 'hosts/c-pc/networking.nix') 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 = [ ]; + }; + }; +} + -- cgit v1.2.3