Change:
++ lib.optionals config.hardware.bluetooth.enable [ bluedevil bluez-qt pkgs.openobex pkgs.obexftp ] ++ lib.optional config.networking.networkmanager.enable plasma-nm ++ lib.optional config.hardware.pulseaudio.enable plasma-pa <ins> ++ lib.optional config.services.pipewire.pulse.enable plasma-pa </ins> ++ lib.optional config.powerManagement.enable powerdevil ++ lib.optional config.services.colord.enable pkgs.colord-kde ++ lib.optionals config.services.samba.enable [ kdenetwork-filesharing pkgs.samba ]

Discussion:
Describe the bug I switched from to on KDE. But the audio control tray icon is gone. Media keys don't work either. Note that can adjust audio volume and switching devices without issue. Audio output is also fine. Not sure it's an issue from KDE or pipewire side. Here is my configuration: and are both running. The latter one has some error but still running as well. To Reproduce Steps to reproduce the behavior: X11 and KDE. sound configuration above. , log out and re-log in. audio icon in system tray is gone. Media keys don't work any more. Expected behavior Audio control from KDE and media keys all work. Screenshots ! Additional context Also mentioned in <!-- Notify maintainers Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --Metadata Please run and paste the result. Maintainer information:
I believe the solution is just to have and installed, so you can install them manually for now and that should work.
I switched to pipewire some time ago and subsequently forgot all about it (things just worked) and I haven't had the tray icon disappear at any point. I cannot comment on media keys. Keyboard doesn't have them.
After adding and into , and a reboot. The tray icon appears in a wired state. There are two forever-muted icon shown. One prompts the original "Audio Volume" window, but shows . Though the audio plays well. ! Another prompts a small window shows several volume slider. The "Master" has no effect, but per-application control works. (Another strange thing. When opening this window, any shortcut of KDE doesn't work anymore, including my screenshot key and ) ! Pressing any media key including toggle mute, increase and decrease volume keys, always shows a "Audio Muted" tip.
Note that doesn't work anymore after updating to current nixos-unstable . It shows "Establishing connection to PulseAudio. Please Wait..." forever, while are just running fine. Not sure if it is caused by the pipewire version bump
Sidenote: should be removed from your config, according to . I think it enables ALSA. Kind of annoying, but similar to how should be false if using .

Tried but it made no difference.
Works fine for me on current unstable with and installed through home-manager. I have the pipewire setup in .
I'm using pure pulseaudio facing the same problem. After installing kmix and plasma-pa, I also get two audio icons and the other situations like the picture. I believe one of the is for the original plasma which is muted and the other is from kmix. By the way, I'm on an old laptop and the media key is not working until I installed kmix.
Sorry for necroposting. Any updates on this? I have this problem too.