nix/modules/nixos/pipewire.nix

27 lines
390 B
Nix
Raw Permalink Normal View History

2023-10-03 11:52:44 -05:00
{...}: {
2023-09-05 23:51:32 -05:00
services.pipewire = {
enable = true;
2023-09-05 22:39:17 -05:00
2023-09-05 23:51:32 -05:00
wireplumber.enable = true;
pulse.enable = true;
jack.enable = true;
2023-09-05 22:39:17 -05:00
2023-09-05 23:51:32 -05:00
alsa = {
enable = true;
support32Bit = true;
};
};
2023-09-05 22:39:17 -05:00
2023-09-05 23:51:32 -05:00
hardware = {
pulseaudio = {
support32Bit = true;
};
};
2023-09-05 22:39:17 -05:00
2023-09-05 23:51:32 -05:00
security = {
# I forget why I need these...
polkit.enable = true;
rtkit.enable = true;
};
2023-09-05 22:39:17 -05:00
}