about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-04-27 13:48:06 +0300
committerNikolay Amiantov <ab@fmap.me>2016-04-27 13:48:06 +0300
commit16bdef135089513223bf567a1ee843009eb132ca (patch)
tree04e351d9e1efb7240581c7bfcdcc6d535ee0ac17
parent584d884bd7010fb6a990978dec03a4ffe22d2fba (diff)
downloadnixlib-16bdef135089513223bf567a1ee843009eb132ca.tar
nixlib-16bdef135089513223bf567a1ee843009eb132ca.tar.gz
nixlib-16bdef135089513223bf567a1ee843009eb132ca.tar.bz2
nixlib-16bdef135089513223bf567a1ee843009eb132ca.tar.lz
nixlib-16bdef135089513223bf567a1ee843009eb132ca.tar.xz
nixlib-16bdef135089513223bf567a1ee843009eb132ca.tar.zst
nixlib-16bdef135089513223bf567a1ee843009eb132ca.zip
bluetooth service: fix w.r.t. multiple outputs
-rw-r--r--nixos/modules/services/hardware/bluetooth.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/hardware/bluetooth.nix b/nixos/modules/services/hardware/bluetooth.nix
index fc95c4910bf7..2c271b328179 100644
--- a/nixos/modules/services/hardware/bluetooth.nix
+++ b/nixos/modules/services/hardware/bluetooth.nix
@@ -9,7 +9,7 @@ let
         serviceConfig = {
           Type = "dbus";
           BusName = "org.bluez";
-          ExecStart = "${bluez-bluetooth}/sbin/bluetoothd -n";
+          ExecStart = "${getBin bluez-bluetooth}/bin/bluetoothd -n";
         };
         wantedBy = [ "bluetooth.target" ];
     };
@@ -19,7 +19,7 @@ let
         serviceConfig = {
           Type = "dbus";
           BusName = "org.bluez";
-          ExecStart = "${bluez-bluetooth}/sbin/bluetoothd -n";
+          ExecStart = "${getBin bluez-bluetooth}/bin/bluetoothd -n";
           NotifyAccess="main";
           CapabilityBoundingSet="CAP_NET_ADMIN CAP_NET_BIND_SERVICE";
           LimitNPROC=1;
@@ -32,7 +32,7 @@ let
         serviceConfig = {
           Type = "dbus";
           BusName = "org.bluez.obex";
-          ExecStart = "${bluez-bluetooth}/sbin/obexd";
+          ExecStart = "${getBin bluez-bluetooth}/bin/obexd";
         };
     };