diff options
| author | Caroline Larimore <caroline@larimo.re> | 2024-07-25 13:21:44 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2024-07-25 13:21:44 -0700 |
| commit | 580374922b8d8c0be596432df6933bcb49d9a516 (patch) | |
| tree | a4dda10eca648cfa5d30c8c79ca9f3c67249a468 /hosts/c-pc/network.nix | |
| parent | e4ce37362d381efc38c0a6e1eea44056f6af5ba7 (diff) | |
Rename host config files
Diffstat (limited to 'hosts/c-pc/network.nix')
| -rw-r--r-- | hosts/c-pc/network.nix | 26 |
1 files changed, 26 insertions, 0 deletions
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 = [ ]; + }; + }; +} |