mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 11:10:42 +00:00
Update bluetooth config
This commit is contained in:
parent
760af68c1d
commit
5cace9f1c0
5 changed files with 25 additions and 8 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue