Update bluetooth config

This commit is contained in:
ItsDrike 2024-06-24 00:27:54 +02:00
parent 760af68c1d
commit 703ee70a47
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
4 changed files with 24 additions and 7 deletions

View file

@ -6,14 +6,14 @@
}: let
inherit (lib) mkIf;
sys = config.myOptions.system.bluetooth;
cfg = config.myOptions.device.bluetooth;
in {
config = mkIf sys.enable {
config = mkIf cfg.enable {
hardware.bluetooth = {
enable = true;
package = pkgs.bluez5-experimental;
powerOnBoot = cfg.powerOnBoot;
#hsphfpd.enable = true;
powerOnBoot = true;
disabledPlugins = ["sap"];
settings = {
General = {