From b3d21315cba95bf6f19af3212218a799b78bbdfd Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 11 Dec 2023 21:55:01 +0530 Subject: cez/network: init --- hosts/cez/modules/network.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 hosts/cez/modules/network.nix (limited to 'hosts/cez/modules') diff --git a/hosts/cez/modules/network.nix b/hosts/cez/modules/network.nix new file mode 100644 index 0000000..3321e98 --- /dev/null +++ b/hosts/cez/modules/network.nix @@ -0,0 +1,17 @@ +{ ... }: + +{ + networking = { + hostName = "cez"; + useDHCP = false; + firewall.enable = false; + + wireless.iwd = { + enable = true; + settings = { + General.EnableNetworkConfiguration = true; + Network.NameResolvingService = "resolvconf"; + }; + }; + }; +} -- cgit v1.2.3