diff options
Diffstat (limited to 'system/settings')
-rw-r--r-- | system/settings/hardware/connman.nix | 1 | ||||
-rw-r--r-- | system/settings/hardware/iwd.nix | 9 | ||||
-rw-r--r-- | system/settings/hardware/laptop.nix | 2 |
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 ]; |