all repos — nixfiles @ 15e6d3bfa4643fea6521f55563d349558e33dca9

System and user configuration, managed by nix and home-manager

Extract wireless setup fvrom connman.nix to iwd.nix

Alan Pearce
commit

15e6d3bfa4643fea6521f55563d349558e33dca9

parent

ba2a03380a69a7af1e5dae763d9003b0ee5b1a52

M system/settings/hardware/connman.nixsystem/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.nixsystem/settings/hardware/laptop.nix
@@ -4,6 +4,8 @@ {
imports = [ ./bluetooth.nix ./bluetooth-audio.nix + ./connman.nix + ./iwd.nix ../user-interface.nix ];