diff options
| author | Caroline Larimore <caroline@larimo.re> | 2024-05-14 17:24:25 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2024-05-14 17:24:25 -0700 |
| commit | 0dc687871a859f78652ad959f7f9a9df7ee1a2e9 (patch) | |
| tree | ea892cb26b4c32ad0387a3b047402eef4eef6b40 /system/networking.nix | |
| parent | ab0151a45da61c16f18b8a6c158fc8e10a865a1c (diff) | |
Restructuring
Diffstat (limited to 'system/networking.nix')
| -rw-r--r-- | system/networking.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/system/networking.nix b/system/networking.nix new file mode 100644 index 0000000..13237a8 --- /dev/null +++ b/system/networking.nix @@ -0,0 +1,23 @@ +{ ... }: + +{ + networking = { + hostName = "c-pc"; + hostId = "23ce94ff"; + + useDHCP = true; + + wireless = { + enable = true; + networks = import ./wifi.nix; + }; + + firewall = { + enable = false; + + allowedTCPPorts = [ 8096 50000 ]; + allowedUDPPorts = [ ]; + }; + }; +} + |