summaryrefslogtreecommitdiff
path: root/hosts/cez/modules
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-12-11 21:55:01 +0530
committersinanmohd <sinan@sinanmohd.com>2023-12-11 21:55:01 +0530
commitb3d21315cba95bf6f19af3212218a799b78bbdfd (patch)
tree21a1a3f92fb137cc7fd846029ec90b280871a0d5 /hosts/cez/modules
parentf5cd67215177c1ab732cff24d19689ce9b8785ef (diff)
cez/network: init
Diffstat (limited to 'hosts/cez/modules')
-rw-r--r--hosts/cez/modules/network.nix17
1 files changed, 17 insertions, 0 deletions
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";
+ };
+ };
+ };
+}