summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-11-27 09:56:05 +0530
committersinanmohd <sinan@sinanmohd.com>2023-11-27 20:54:02 +0530
commit0b8e24c80ad0a5e9e97b0aedd17357199b82c369 (patch)
tree90edff08ea21cdf02069028d2342709a32d7d2bf /hosts
parent821dbcbb0f0d6adf18cb95fc567826e2ab8f70e5 (diff)
modules/iwd: fix broken dhcp dns configuration
Diffstat (limited to 'hosts')
-rw-r--r--hosts/cez/configuration.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/hosts/cez/configuration.nix b/hosts/cez/configuration.nix
index 05e7dd6..b8bbc3e 100644
--- a/hosts/cez/configuration.nix
+++ b/hosts/cez/configuration.nix
@@ -27,8 +27,15 @@ in
networking = {
hostName = "cez";
- dhcpcd.wait = "background";
- wireless.iwd.enable = true;
+ useDHCP = false;
+
+ wireless.iwd = {
+ enable = true;
+ settings = {
+ General.EnableNetworkConfiguration = true;
+ Network.NameResolvingService = "resolvconf";
+ };
+ };
};
services = {