add bluetooth config

This commit is contained in:
Leonardo Eugênio 2022-11-12 21:15:20 -03:00
parent 24a946f719
commit 015e503c39

View file

@ -67,6 +67,22 @@
jack.enable = true; 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). # Enable touchpad support (enabled default in most desktopManager).
services.xserver.libinput.enable = true; services.xserver.libinput.enable = true;
@ -74,7 +90,7 @@
users.users.lelgenio = { users.users.lelgenio = {
isNormalUser = true; isNormalUser = true;
description = "Leonardo Eugênio"; description = "Leonardo Eugênio";
extraGroups = [ "networkmanager" "wheel" "docker" "adbusers" ]; extraGroups = [ "networkmanager" "wheel" "docker" "adbusers" "bluetooth" ];
shell = pkgs.fish; shell = pkgs.fish;
}; };
# services.getty.autologinUser = "lelgenio"; # services.getty.autologinUser = "lelgenio";