No sound from built-in speakers

Since the removal of the sound.enable from NixOS (unstable) configuration settings, I’ve had trouble with my HP Omen 16. When switching from a Logitech bluetooth headset to built-in speakers, I am getting no sound at all. Here’s my sound config:

  hardware.pulseaudio.enable = false;
  security.rtkit.enable = true;
  services.pipewire = {
    enable = true;
    alsa.enable = true;
    alsa.support32Bit = true;
    pulse.enable = true;
    wireplumber.enable = true;
  };

I am also using easyeffects but I hope this is not a factor. The only way to fix it is to remove ~/.local/state/wireplumber and restart my GNOME session.

Any hint?

I just had my system upgrade as well and a similar issue. Do you have the option to change sound outputs in your desktop environment?

I do but it there’s no sound anyway. It’s a problem with pulseaudio’s sink, which can be fixed by restarting the pulseaudio service with systemctl --user restart pipewire.service pipewire-pulse.service. Still annoying.