nixfleet/modules/bluetooth/default.nix
Andrea Ciceri fc65aa5403
Some checks failed
/ test (push) Has been cancelled
Bluetooth fix
Don't know exactly what happened but this fixed it
2024-04-17 13:45:38 +02:00

24 lines
484 B
Nix

{
pkgs,
config,
...
}: {
services.blueman.enable = true;
hardware.pulseaudio.enable = true;
hardware.bluetooth = {
enable = true;
settings = {
General = {
Name = config.networking.hostName;
ControllerMode = "dual";
FastConnectable = "true";
Experimental = "true";
};
Policy = {
AutoEnable = "true";
};
};
};
services.dbus.packages = with pkgs; [blueman];
ccr.extraGroups = ["bluetooth"];
}