Extract wireless setup fvrom connman.nix to iwd.nix
Alan Pearce alan@alanpearce.eu
Sat, 16 Jan 2021 20:51:47 +0100
3 files changed, 11 insertions(+), 1 deletions(-)
M system/settings/hardware/connman.nix → system/settings/hardware/connman.nix
@@ -4,7 +4,6 @@ { services.connman = { enable = true; enableVPN = false; }; - networking.wireless.enable = true; environment.systemPackages = with pkgs; [ connman-gtk
A system/settings/hardware/iwd.nix
@@ -0,0 +1,9 @@+{ config, pkgs, ... }: + +{ + networking.wireless.iwd = { + enable = true; + }; + + services.connman.wifi.backend = "iwd"; +}
M system/settings/hardware/laptop.nix → system/settings/hardware/laptop.nix
@@ -4,6 +4,8 @@ { imports = [ ./bluetooth.nix ./bluetooth-audio.nix + ./connman.nix + ./iwd.nix ../user-interface.nix ];