summary refs log tree commit diff stats
path: root/system/settings/hardware/iwd.nix
diff options
context:
space:
mode:
authorAlan Pearce2021-01-16 20:51:47 +0100
committerAlan Pearce2021-01-16 20:51:47 +0100
commit15e6d3bfa4643fea6521f55563d349558e33dca9 (patch)
tree012ffc3e4f807b1520a949fae87aeed1537f5218 /system/settings/hardware/iwd.nix
parentba2a03380a69a7af1e5dae763d9003b0ee5b1a52 (diff)
downloadnixfiles-15e6d3bfa4643fea6521f55563d349558e33dca9.tar.lz
nixfiles-15e6d3bfa4643fea6521f55563d349558e33dca9.tar.zst
nixfiles-15e6d3bfa4643fea6521f55563d349558e33dca9.zip
Extract wireless setup fvrom connman.nix to iwd.nix
Diffstat (limited to 'system/settings/hardware/iwd.nix')
-rw-r--r--system/settings/hardware/iwd.nix9
1 files changed, 9 insertions, 0 deletions
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";
+}