This repository has no description
757 B
35 lines
1{ pkgs, ... }:
2{
3 security.rtkit.enable = true;
4
5 hardware.bluetooth = {
6 enable = true;
7 powerOnBoot = true;
8 };
9
10 environment.systemPackages = with pkgs; [
11 alsa-utils
12 pulseaudio
13 ponymix
14 ];
15
16 services.pipewire = {
17 enable = true;
18 systemWide = true;
19 alsa.enable = true;
20 alsa.support32Bit = true;
21 pulse.enable = true;
22 jack.enable = true;
23 };
24
25 # workaround from https://github.com/NixOS/nixpkgs/pull/297806#issuecomment-2014059176
26 services.pipewire.wireplumber.configPackages = [
27 (pkgs.writeTextDir "share/wireplumber/wireplumber.conf.d/59-systemwide-bluetooth.conf" ''
28 wireplumber.profiles = {
29 main = {
30 monitor.bluez.seat-monitoring = disabled
31 }
32 }
33 '')
34 ];
35}