bluetooth: add the systemd unit needed for activation by recent bluez versions

This commit is contained in:
Evgeny Egorochkin 2013-02-10 20:30:02 +02:00
parent 06f90c6ffc
commit aaffb21f25

View File

@ -26,6 +26,16 @@ with pkgs.lib;
services.dbus.packages = [ pkgs.bluez ];
systemd.services."dbus-org.bluez" = {
description = "Bluetooth service";
serviceConfig = {
Type = "dbus";
BusName = "org.bluez";
ExecStart = "${pkgs.bluez}/sbin/bluetoothd -n";
};
wantedBy = [ "bluetooth.target" ];
};
};
}