Since upgrading NixOS a few weeks ago, I started to lose audio output after disconnecting any Jabra USB sound device. The laptop and analog headset microphones still work, but I hear no sound on the speakers or an analog headset (if connected).
All sound settings look correct (GNOME Settings, pw-cli, wpctl etc.) except that I do see the Jabra device still as the default in wpctl status
:
Settings
└─ Default Configured Node Names:
0. Audio/Sink alsa_output.usb-0b0e_Jabra_Speak_710_3050754EE0C9-00.iec958-stereo
1. Audio/Source alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__source
But even after correcting that using wpctl set-default <sink number for my speaker>
, I get no sound.
I can fix this by doing
systemctl --user restart wireplumber
but that’s of course a bit cumbersome.
Here’s are my sound settings:
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
media-session.enable = false;
wireplumber.enable = true;
};
hardware.pulseaudio.enable = pkgs.lib.mkForce false;