Replace Pulseaudio with PipeWire

This commit is contained in:
coolneng 2021-02-20 12:04:23 +01:00
parent 150f26d906
commit 1d4dcc04ab
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
3 changed files with 9 additions and 6 deletions

View File

@ -8,14 +8,18 @@ in {
# Enable ALSA
sound.enable = true;
# Configure PulseAudio with mopidy tweaks
hardware.pulseaudio = {
# Configure pipewire as sound server
services.pipewire = {
enable = true;
tcp = {
alsa = {
enable = true;
anonymousClients.allowedIpRanges = [ "127.0.0.1" ];
support32Bit = true;
};
pulse.enable = true;
jack.enable = true;
media-session.enable = true;
};
security.rtkit.enable = true;
# Set up Mopidy
services.mopidy = {

View File

@ -123,8 +123,6 @@ in {
programs.browserpass.enable = true;
# Enable WebRTC screensharing
services.pipewire.enable = true;
xdg.portal = {
enable = true;
extraPortals = with pkgs; [ xdg-desktop-portal-wlr ];

View File

@ -43,6 +43,7 @@
ncmpcpp
mpc_cli
alsa-firmware
pulsemixer
# Productivity
fff
zathura