# Module: Bluetooth Configuration # Description: Enables Bluetooth with dual controller mode and experimental features # Services: bluetooth, blueman (GUI manager) { config, lib, ... }: { options.custom.bluetooth = { enable = lib.mkEnableOption "Bluetooth support with blueman GUI"; powerOnBoot = lib.mkOption { type = lib.types.bool; default = true; description = "Power on Bluetooth adapter on boot"; }; }; config = lib.mkIf config.custom.bluetooth.enable { hardware.bluetooth = { enable = true; powerOnBoot = config.custom.bluetooth.powerOnBoot; settings = { General = { ControllerMode = "dual"; Privacy = "device"; JustWorksRepairing = "always"; Experimental = true; }; }; }; services.blueman.enable = true; }; }