summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/settings/hardware/connman.nix1
-rw-r--r--system/settings/hardware/iwd.nix9
-rw-r--r--system/settings/hardware/laptop.nix2
3 files changed, 11 insertions, 1 deletions
diff --git a/system/settings/hardware/connman.nix b/system/settings/hardware/connman.nix
index 8604cb06..779f8b7a 100644
--- a/system/settings/hardware/connman.nix
+++ b/system/settings/hardware/connman.nix
@@ -4,7 +4,6 @@
     enable = true;
     enableVPN = false;
   };
-  networking.wireless.enable = true;
 
   environment.systemPackages = with pkgs; [
     connman-gtk
diff --git a/system/settings/hardware/iwd.nix b/system/settings/hardware/iwd.nix
new file mode 100644
index 00000000..560c6694
--- /dev/null
+++ b/system/settings/hardware/iwd.nix
@@ -0,0 +1,9 @@
+{ config, pkgs, ... }:
+
+{
+  networking.wireless.iwd = {
+    enable = true;
+  };
+
+  services.connman.wifi.backend = "iwd";
+}
diff --git a/system/settings/hardware/laptop.nix b/system/settings/hardware/laptop.nix
index 0dea0384..9f752070 100644
--- a/system/settings/hardware/laptop.nix
+++ b/system/settings/hardware/laptop.nix
@@ -4,6 +4,8 @@
   imports = [
     ./bluetooth.nix
     ./bluetooth-audio.nix
+    ./connman.nix
+    ./iwd.nix
     ../user-interface.nix
   ];