tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos/bluetooth: allow to specify custom bluez package
Ales Huzik
8 years ago
0555f247
7093810b
+11
-1
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
hardware
bluetooth.nix
+11
-1
nixos/modules/services/hardware/bluetooth.nix
···
3
3
with lib;
4
4
5
5
let
6
6
-
bluez-bluetooth = pkgs.bluez;
7
6
cfg = config.hardware.bluetooth;
7
7
+
bluez-bluetooth = cfg.package;
8
8
9
9
in {
10
10
···
19
19
type = types.bool;
20
20
default = true;
21
21
description = "Whether to power up the default Bluetooth controller on boot.";
22
22
+
};
23
23
+
24
24
+
package = mkOption {
25
25
+
type = types.package;
26
26
+
default = pkgs.bluez;
27
27
+
defaultText = "pkgs.bluez";
28
28
+
example = "pkgs.bluez.override { enableMidi = true; }";
29
29
+
description = ''
30
30
+
Which BlueZ package to use.
31
31
+
'';
22
32
};
23
33
24
34
extraConfig = mkOption {