Revert "Replace Pulseaudio with PipeWire"

This reverts commit 1d4dcc04ab.
This commit is contained in:
coolneng 2021-02-23 18:22:30 +01:00
parent 6618960b0d
commit 6796b82332
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 6 additions and 8 deletions

View File

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

View File

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