From 580374922b8d8c0be596432df6933bcb49d9a516 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Thu, 25 Jul 2024 13:21:44 -0700 Subject: Rename host config files --- hosts/c-pc/network.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 hosts/c-pc/network.nix (limited to 'hosts/c-pc/network.nix') diff --git a/hosts/c-pc/network.nix b/hosts/c-pc/network.nix new file mode 100644 index 0000000..da8e074 --- /dev/null +++ b/hosts/c-pc/network.nix @@ -0,0 +1,26 @@ +{ ... }: + +{ + 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