* Start bluetoothd from udev.

svn path=/nixos/trunk/; revision=17475
This commit is contained in:
Eelco Dolstra 2009-09-28 16:37:46 +00:00
parent 647d9ba3b6
commit 373445c410

View File

@ -15,24 +15,10 @@ with pkgs.lib;
config = {
jobs = pkgs.lib.singleton
{ name = "bluetoothd";
startOn = "dbus/started";
stopOn = "dbus/stop";
preStart =
''
mkdir -m 0755 -p /var/lib/bluetooth
'';
exec = "${pkgs.bluez}/sbin/bluetoothd --nodaemon --debug";
};
environment.systemPackages = [pkgs.bluez pkgs.openobex pkgs.obexftp];
services.dbus.enable = true;
services.dbus.packages = [pkgs.bluez];
services.udev.packages = [pkgs.bluez];
};
}