From a96f79171a508b14468cece356835e095d8f68df Mon Sep 17 00:00:00 2001 From: Magic_RB Date: Wed, 28 Jun 2023 14:22:11 +0200 Subject: [PATCH] Fix bluetooth not working on omen properly Signed-off-by: Magic_RB --- nixos/systems/omen/networking.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/nixos/systems/omen/networking.nix b/nixos/systems/omen/networking.nix index 6aefd12..2800237 100644 --- a/nixos/systems/omen/networking.nix +++ b/nixos/systems/omen/networking.nix @@ -1,4 +1,8 @@ { pkgs, lib, inputs', secret, ... }: +let + inherit (lib) + concatStringsSep; +in { networking = { hostName = "omen"; @@ -15,5 +19,10 @@ }; networking.networkmanager.enable = true; - hardware.bluetooth.enable = true; + hardware.bluetooth = { + enable = true; + settings = { + General.Enable = concatStringsSep "," [ "Control" "Gateway" "Headset" "Media" "Sink" "Socket" "Source" ]; + }; + }; }