nixos/hardware/bluetooth/default.nix

26 lines
463 B
Nix
Raw Normal View History

2021-12-28 23:05:17 +01:00
{ pkgs, ... }:
2021-11-24 20:54:11 +01:00
{
# Blueooth support in general
hardware.bluetooth = {
enable = true;
powerOnBoot = false;
};
# Blueman applet
services.blueman.enable = true;
# aptx/LDAC support
hardware.pulseaudio = {
extraModules = [ pkgs.pulseaudio-modules-bt ];
package = pkgs.pulseaudioFull;
};
systemd.user.services.blueman-applet = {
2021-11-24 22:17:07 +01:00
partOf = [ "graphical-session.target" ];
wantedBy = [ "graphical-session.target" ];
};
2021-11-24 20:54:11 +01:00
}