Option to use iwd
This commit is contained in:
parent
858ea8b16b
commit
f2e594275e
|
@ -1,10 +1,12 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
|
use-iwd ? false,
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
networking.networkmanager = {
|
networking.networkmanager = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dhcp = "dhcpcd";
|
dhcp = "dhcpcd";
|
||||||
|
wifi.backend = if use-iwd then "iwd" else "wpa_supplicant";
|
||||||
};
|
};
|
||||||
networking.nameservers = [ "8.8.8.8" ];
|
networking.nameservers = [ "8.8.8.8" ];
|
||||||
networking.resolvconf.enable = true;
|
networking.resolvconf.enable = true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user