Good morning, afternoon or evening. Thank you for checking out my topic
I updated from Nix0S Vicuna 24.11.717196.9684b53175fc (Linux 6.6.87) to Nix0S Vicuna 24.11.717608.bf3287dac860 (Linux 6.6.88) and 3 problems appeared:
- KDEâs volume menu in the system tray doesnât show any devices anymore and states âConnection to the Sound Service Lostâ
- Running âsudo nixos-rebuild switchâ shows the highlighted error:
[dinnerbug@nixos:~]$ sudo nixos-rebuild switch
[sudo] password for dinnerbug:
building NixâŚ
building the system configurationâŚ
evaluation warning: The âgnome.adwaita-icon-themeâ was moved to top-level. Please use âpkgs.adwaita-icon-themeâ directly.
evaluation warning: rustPlatform.rust.cargo is deprecated. Use cargo instead.
evaluation warning: rustPlatform.rust.rustc is deprecated. Use rustc instead.
activating the configurationâŚ
setting up /etcâŚ
reloading user units for dinnerbugâŚ
Error: Failed to open dbus connectionCaused by:
Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
restarting sysinit-reactivation.target
the following new units were started: sysinit-reactivation.target, systemd-tmpfiles-resetup.service[dinnerbug@nixos:~]$
- Finally, shutting down the computer gets stuck for 1min30s on âA stop job is running for Session 2 of User dinnerbugâ
Iâve included these 3 issues in this 1 post because I suspect they might be correlated.
Starting from the audio issue, I tried the following:
[dinnerbug@nixos:~]$ systemctl --user status pipewire.service
Failed to get properties: Process org.freedesktop.systemd1 exited with status 1[dinnerbug@nixos:~]$ ps aux | grep -E âpipewire|pulseaudioâ
dinnerb+ 10217 0.0 0.0 6796 2688 pts/1 S+ 10:38 0:00 grep -E pipewire|pulseaudio[dinnerbug@nixos:~]$ systemctl --user restart pipewire
Failed to restart pipewire.service: Process org.freedesktop.systemd1 exited with status 1
See user logs and âsystemctl --user status pipewire.serviceâ for details.
As for the dbus error during rebuild, I only have 1 display connected to my pc and are running a graphical wayland + kde setup so I donât quite understand what that warning is about.
Maybe itâs trying to âinteractâ with the wrong display so I did:
[dinnerbug@nixos:~]$ xrandr --listmonitors
Monitors: 1
0: +*DP-1 1920/598x1080/336+0+0 DP-1[dinnerbug@nixos:~]$ echo $DISPLAY
:1
and then âexport DISPLAY=:0â seeing as 2 displays appeared from the previews command. Didnât work though.
dbus seems alive and well:
â dbus.service - D-Bus System Message Bus
Loaded: loaded (/etc/systemd/system/dbus.service; linked; preset: ignored)
Drop-In: /nix/store/a0pzxfyaadhpfkzyrnfnvzjcvl1zn4mv-system-units/dbus.service.d
ââoverrides.conf
Active: active (running) since Sun 2025-05-04 10:13:23 CEST; 33min ago
Invocation: 255986ede5ea49fbb941fb840201a83f
TriggeredBy: â dbus.socket
Docs: man:dbus-daemon(1)
Main PID: 1304 (dbus-daemon)
IP: 0B in, 0B out
IO: 9.7M read, 0B written
Tasks: 1 (limit: 37381)
Memory: 14.2M (peak: 23.1M)
CPU: 632ms
CGroup: /system.slice/dbus.service
ââ1304 /nix/store/sdcwi25sk7a091nz9g7bjm3mgvyl6540-dbus-1.14.10/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-onlymag 04 10:13:32 nixos org.kde.powerdevil.chargethresholdhelper[2362]: Detected locale âCâ with character encoding âANSI_X3.4-1968â, which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to âC.UTF-8â instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
mag 04 10:13:32 nixos dbus-daemon[1304]: [system] Successfully activated service âorg.kde.powerdevil.chargethresholdhelperâ
mag 04 10:13:32 nixos dbus-daemon[1304]: [system] Activating service name=âorg.kde.powerdevil.backlighthelperâ requested by â:1.34â (uid=1000 pid=2079 comm=â/nix/store/lkvpyiw5hqkmlfn4s35x65dgfwlsjyzh-powerdâ label=âkernelâ) (using ser>
mag 04 10:13:32 nixos backlighthelper[2393]: org.kde.powerdevil: no kernel backlight interface found
mag 04 10:13:32 nixos org.kde.powerdevil.backlighthelper[2393]: Detected locale âCâ with character encoding âANSI_X3.4-1968â, which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to âC.UTF-8â instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
mag 04 10:13:32 nixos dbus-daemon[1304]: [system] Successfully activated service âorg.kde.powerdevil.backlighthelperâ
mag 04 10:13:32 nixos dbus-daemon[1304]: [system] Activating via systemd: service name=âorg.freedesktop.ModemManager1â unit=âdbus-org.freedesktop.ModemManager1.serviceâ requested by â:1.43â (uid=1000 pid=2025 comm=â/run/current-system/>
mag 04 10:13:32 nixos dbus-daemon[1304]: [system] Successfully activated service âorg.freedesktop.ModemManager1â
mag 04 10:17:15 nixos dbus-daemon[1304]: [system] Activating via systemd: service name=âorg.freedesktop.timedate1â unit=âdbus-org.freedesktop.timedate1.serviceâ requested by â:1.105â (uid=1000 pid=7249 comm=â/nix/store/rx75zh4sna8qzqc0>
mag 04 10:17:15 nixos dbus-daemon[1304]: [system] Successfully activated service âorg.freedesktop.timedate1â
Thanks again for your time, any help is greatly appreciated