nixos/xfce: Install xfce4-pulseaudio-plugin when services.pipewire.pulse is enabled

I think most users will really need it for the media keys.
This commit is contained in:
Bobby Rong 2024-06-23 18:03:15 +08:00
parent d603719ec6
commit 387810bb17
No known key found for this signature in database

View File

@ -116,7 +116,7 @@ in
] # TODO: NetworkManager doesn't belong here
++ optional config.networking.networkmanager.enable networkmanagerapplet
++ optional config.powerManagement.enable xfce4-power-manager
++ optionals config.hardware.pulseaudio.enable [
++ optionals (config.hardware.pulseaudio.enable || config.services.pipewire.pulse.enable) [
pavucontrol
# volume up/down keys support:
# xfce4-pulseaudio-plugin includes all the functionalities of xfce4-volumed-pulse