bluetooth: add the systemd unit needed for activation by recent bluez versions
This commit is contained in:
parent
06f90c6ffc
commit
aaffb21f25
@ -26,6 +26,16 @@ with pkgs.lib;
|
|||||||
|
|
||||||
services.dbus.packages = [ pkgs.bluez ];
|
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" ];
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user