From a7acac59afe0c514df4201e9b0ddc2b76af16478 Mon Sep 17 00:00:00 2001 From: sils Date: Fri, 17 Nov 2023 22:26:38 +0100 Subject: feat(treewide): declare networks host-independent --- sys/networking/default.nix | 10 ++++++++++ sys/networking/networks.nix | Bin 0 -> 103 bytes 2 files changed, 10 insertions(+) create mode 100644 sys/networking/default.nix create mode 100644 sys/networking/networks.nix (limited to 'sys/networking') 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; + }; + }; +} diff --git a/sys/networking/networks.nix b/sys/networking/networks.nix new file mode 100644 index 0000000..22fed37 Binary files /dev/null and b/sys/networking/networks.nix differ -- cgit 1.4.1