nix/modules/nixos/pipewire.nix

30 lines
444 B
Nix
Raw Normal View History

2023-10-03 11:52:44 -05:00
{...}: {
2024-01-24 20:25:19 -06:00
sound.enable = true;
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 = {
2024-01-24 20:25:19 -06:00
enable = false;
2023-09-05 23:51:32 -05:00
support32Bit = true;
};
};
2023-09-05 22:39:17 -05:00
2023-09-05 23:51:32 -05:00
security = {
2024-01-24 20:25:19 -06:00
# I forget why I need these exactly...
2023-09-05 23:51:32 -05:00
polkit.enable = true;
rtkit.enable = true;
};
2023-09-05 22:39:17 -05:00
}