I’m presently having a really weird issue. On my main account, no audio output devices are recognized apart from bluetooth, however creating a new account with the exact same settings results in an fully functioning audio for that account.
The only possible explanation I can think of is a setting which isn’t managed by nix getting accidentally changed. I have no idea how something like that could be tracked down, though. Hopefully the files I’ve attached here are helpful.
configuration excerpt of audio setup
services.desktopManager.plasma6.enable = true;
services.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
settings = {
General = {
Experimental = true; # probably needed for charge level
};
Policy = {
AutoEnable = true; # default bluetooth controllers/adapters on
};
};
};
output of pw-metadata
Functioning list of devices from pw-metadata
Found "default" metadata 40
update: id:0 key:'default.audio.sink' value:'{"name":"alsa_output.pci-0000_00_1f.3.analog-stereo"}' type:'Spa:String:JSON'
update: id:0 key:'default.audio.source' value:'{"name":"alsa_input.pci-0000_00_1f.3.analog-stereo"}' type:'Spa:String:JSON'
update: id:0 key:'default.video.source' value:'{"name":"v4l2_input.pci-0000_00_14.0-usb-0_7_1.0"}' type:'Spa:String:JSON'
Broken list of devices from pw-metadata
Found "default" metadata 40
update: id:0 key:'default.configured.audio.source' value:'{"name":"alsa_input.pci-0000_00_1f.3.analog-stereo"}' type:'Spa:String:JSON'
update: id:0 key:'default.video.source' value:'{"name":"v4l2_input.pci-0000_00_14.0-usb-0_7_1.0"}' type:'Spa:String:JSON'
update: id:0 key:'default.audio.sink' value:'{"name":"auto_null"}' type:'Spa:String:JSON'
update: id:0 key:'default.audio.source' value:'{"name":"alsa_input.pci-0000_00_1f.3.analog-stereo"}' type:'Spa:String:JSON'