Replace Pulseaudio with PipeWire
This commit is contained in:
parent
150f26d906
commit
1d4dcc04ab
|
@ -8,14 +8,18 @@ in {
|
||||||
# Enable ALSA
|
# Enable ALSA
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
|
|
||||||
# Configure PulseAudio with mopidy tweaks
|
# Configure pipewire as sound server
|
||||||
hardware.pulseaudio = {
|
services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
tcp = {
|
alsa = {
|
||||||
enable = true;
|
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
|
# Set up Mopidy
|
||||||
services.mopidy = {
|
services.mopidy = {
|
||||||
|
|
|
@ -123,8 +123,6 @@ 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 ];
|
||||||
|
|
|
@ -43,6 +43,7 @@
|
||||||
ncmpcpp
|
ncmpcpp
|
||||||
mpc_cli
|
mpc_cli
|
||||||
alsa-firmware
|
alsa-firmware
|
||||||
|
pulsemixer
|
||||||
# Productivity
|
# Productivity
|
||||||
fff
|
fff
|
||||||
zathura
|
zathura
|
||||||
|
|
Loading…
Reference in New Issue