Nevermind, reinstalled Fedora and managed to achieve exactly what I wanted by doing the following:
sudo dnf swap --allowerasing pipewire-pulseaudio pulseaudio
systemctl --user --now enable pulseaudio.service
- Open
/usr/share/wireplumber/wireplumber.conf
and comment out the lines beginning withapi.alsa.*
,api.bluez5.*
andaudio.convert.*
undercontext.spa.libs
sudo pkill -9 wireplumber && systemctl --user restart wireplumber.service
- (Optional, only if you want these changes to persist through wireplumber updates, at least I think this was wiped out after I let it be updated)
sudo touch /usr/local/bin/replace-config.sh
- Copy the edited
/usr/share/wireplumber/wireplumber.conf
to somewhere else sudo nano /usr/local/bin/replace-config.sh
(or whatever your preferred editor is) and type in the following:
#!/bin/bash
cp /replace/with/path/to/edited/wireplumber.conf /usr/share/wireplumber/wireplumber.conf
chmod 644 /usr/share/wireplumber/wireplumber.conf
sudo chmod +x /usr/local/bin/replace-config.sh
sudo touch /etc/systemd/system/replace-config.service
sudo nano /etc/systemd/system/replace-config.service
and make the contents the following:
[Unit]
Description=Replace wireplumber.conf upon startup
[Service]
ExecStart=/usr/bin/local/replace-config.sh
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
Probably not necessarysudo systemctl --now enable replace-config.service
This works, but the “replace wireplumber.conf upon startup” part is probably slightly unsettling to some, so… use at your own risk.