From 1cd8c81d50b92ac3c97d7e93d97b0bfd17811df5 Mon Sep 17 00:00:00 2001 From: "(cdep)illabout" Date: Sat, 15 Dec 2018 14:20:34 +0900 Subject: [PATCH 1/2] [bluezFull] add bluezFull package that enables all plugins This PR adds the top-level `bluezFull` package. This `bluezFull` package enables all the plugins provided by the `bluez` package. --- pkgs/top-level/all-packages.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3e392af3f65..b930b0e0d26 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14195,6 +14195,12 @@ in bluez = bluez5; + bluezFull = bluez.override { + enableWiimote = true; + enableMidi = true; + enableSixaxis = true; + }; + inherit (python3Packages) bedup; bridge-utils = callPackage ../os-specific/linux/bridge-utils { }; From 9039cc3f28e21d14bc4c9af8b2aac4cd7d8875fa Mon Sep 17 00:00:00 2001 From: "(cdep)illabout" Date: Sat, 15 Dec 2018 14:49:41 +0900 Subject: [PATCH 2/2] Add explanation of using the bluezFull package in nixos documentation. --- nixos/modules/services/hardware/bluetooth.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/hardware/bluetooth.nix b/nixos/modules/services/hardware/bluetooth.nix index d7ca8a43179..2a8dfe4a66c 100644 --- a/nixos/modules/services/hardware/bluetooth.nix +++ b/nixos/modules/services/hardware/bluetooth.nix @@ -25,9 +25,14 @@ in { type = types.package; default = pkgs.bluez; defaultText = "pkgs.bluez"; - example = "pkgs.bluez.override { enableMidi = true; }"; + example = "pkgs.bluezFull"; description = '' Which BlueZ package to use. + + + Use the pkgs.bluezFull package to enable all + bluez plugins. + ''; };