From 015e503c3939509f5f073092f0f9f0a6c607aa15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Sat, 12 Nov 2022 21:15:20 -0300 Subject: [PATCH] add bluetooth config --- system/configuration.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/system/configuration.nix b/system/configuration.nix index 234b43b..bc8a54a 100644 --- a/system/configuration.nix +++ b/system/configuration.nix @@ -67,6 +67,22 @@ jack.enable = true; }; + services.blueman.enable = true; + hardware.bluetooth = { + enable = true; + package = pkgs.bluezFull; + settings = { + General = { + DiscoverableTimeout = 0; + # Discoverable = true; + AlwaysPairable = true; + }; + Policy = { + AutoEnable = true; + }; + }; + }; + # Enable touchpad support (enabled default in most desktopManager). services.xserver.libinput.enable = true; @@ -74,7 +90,7 @@ users.users.lelgenio = { isNormalUser = true; description = "Leonardo EugĂȘnio"; - extraGroups = [ "networkmanager" "wheel" "docker" "adbusers" ]; + extraGroups = [ "networkmanager" "wheel" "docker" "adbusers" "bluetooth" ]; shell = pkgs.fish; }; # services.getty.autologinUser = "lelgenio";