summary refs log tree commit diff stats
path: root/sys/networking/default.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-11-17 22:26:38 +0100
committersils <sils@sils.li>2023-11-17 22:26:38 +0100
commita7acac59afe0c514df4201e9b0ddc2b76af16478 (patch)
tree9284abc914703bf51d494cd36844da7b4001b90e /sys/networking/default.nix
parentfeat(treewide): add git-crypt (diff)
downloadnix-config-a7acac59afe0c514df4201e9b0ddc2b76af16478.tar.gz
nix-config-a7acac59afe0c514df4201e9b0ddc2b76af16478.zip
feat(treewide): declare networks host-independent
Diffstat (limited to 'sys/networking/default.nix')
-rw-r--r--sys/networking/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/networking/default.nix b/sys/networking/default.nix
new file mode 100644
index 0000000..c630249
--- /dev/null
+++ b/sys/networking/default.nix
@@ -0,0 +1,10 @@
+{...}: {
+  networking = {
+    useDHCP = true;
+    #nameservers = ["2620:fe::fe" "2620:fe::9" "9.9.9.9" "149.112.112.112"];
+    wireless = {
+      enable = true;
+      networks = import ./networks.nix;
+    };
+  };
+}