network-manger: Switch to iwd as wifi backend

wpa_supplicant often requires multiple tries to get a connection.
This commit is contained in:
Simon Bruder 2022-09-01 22:30:49 +02:00
parent f0dbe8c257
commit 7c81e51d10
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -1,7 +1,10 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
lib.mkIf config.sbruder.gui.enable { lib.mkIf config.sbruder.gui.enable {
networking.networkmanager.enable = true; networking.networkmanager = {
enable = true;
wifi.backend = "iwd";
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
networkmanagerapplet networkmanagerapplet