aboutsummaryrefslogtreecommitdiff
path: root/system/networking.nix
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2024-05-14 17:24:25 -0700
committerCaroline Larimore <caroline@larimo.re>2024-05-14 17:24:25 -0700
commit0dc687871a859f78652ad959f7f9a9df7ee1a2e9 (patch)
treeea892cb26b4c32ad0387a3b047402eef4eef6b40 /system/networking.nix
parentab0151a45da61c16f18b8a6c158fc8e10a865a1c (diff)
Restructuring
Diffstat (limited to 'system/networking.nix')
-rw-r--r--system/networking.nix23
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 = [ ];
+ };
+ };
+}
+