Switching to nixos-unstable channel

I have a functioning global nixos config with nixos-24.05 channel. Switching to nixos-unstable, updating it and then rebuilding with nixos-rebuild causes the following error message:

building the system configuration...
error:
       ā€¦ while calling the 'head' builtin

         at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1575:11:

         1574|         || pred here (elemAt values 1) (head values) then
         1575|           head values
             |           ^
         1576|         else

       ā€¦ while evaluating the attribute 'value'

         at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:821:9:

          820|     in warnDeprecation opt //
          821|       { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          822|         inherit (res.defsFinal') highestPrio;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error:
       Failed assertions:
       - Using PipeWire as the sound server conflicts with PulseAudio. This option requires `hardware.pulseaudio.enable` to be set to false

Any idea what could be pulling PipeWire?
This is my Audio setup in configuration.nix :

...
hardware = {
                bluetooth = {
                        enable = true;
                        settings.General = {
                                Enable = "Source,Sink,Media,Socket";
                                Experimental = true;
                        };
                };
                pulseaudio = {
                        enable = true;
                        support32Bit = true;
                        package = pkgs.pulseaudioFull;
                };acpi-1.7
...

These are the packages in my per-user env:

alvr-20.6.1
asciiquarium-1.1
baobab-46.0
bluetuith-0.2.3
cava-0.10.2
dbus-1.14.10
dconf-0.40.0
discord-0.0.67
feh-3.10.3
firefox-131.0b2
flameshot-12.1.0-unstable-2024-09-01
hostapd-2.11
i3blocks-1.5
mc-4.8.32
neomutt-20240425
prusa-slicer-2.7.4
pulsemixer-1.5.1
spotify-1.2.42.290.g242057a2
steam
telegram-desktop-5.1.7
terminal-parrot-1.2.0
unzip-6.0
wine-9.17
xournalpp-1.2.3

Thanks for any help

From the 24.11 Release Notes:

  • The default sound server for most graphical sessions has been switched from PulseAudio to PipeWire. Users that want to keep PulseAudio will want to set services.pipewire.enable = false; and hardware.pulseaudio.enable = true;. There is currently no plan to fully deprecate and remove PulseAudio, however, PipeWire should generally be preferred for new installs.
1 Like

Thanks a lot, you can mark this as resolved