nixos-config/profiles/bluetooth.nix

14 lines
326 B
Nix
Raw Normal View History

2021-11-23 12:33:00 +04:00
{ pkgs, lib, ... }: {
hardware.bluetooth = {
enable = true;
package = pkgs.bluezFull;
};
systemd.services.bluetooth.serviceConfig.ExecStart = lib.mkForce [
""
"${pkgs.bluezFull}/libexec/bluetooth/bluetoothd -f /etc/bluetooth/main.conf -E"
];
persist.state.directories = [ "/var/lib/bluetooth" ];
}