Option to use iwd

This commit is contained in:
xenia 2024-06-25 18:07:56 +02:00
parent 858ea8b16b
commit f2e594275e

View File

@ -1,10 +1,12 @@
{
pkgs,
use-iwd ? false,
}:
{
networking.networkmanager = {
enable = true;
dhcp = "dhcpcd";
wifi.backend = if use-iwd then "iwd" else "wpa_supplicant";
};
networking.nameservers = [ "8.8.8.8" ];
networking.resolvconf.enable = true;