Hi,
I’ve been using NixOS recently with Sway, but now I want to switch to Niri. However, switching to Niri hasn’t been easy — I ran into issues right at the installation step.
I installed Niri with:
programs.niri.enable = true;
and disabled Sway along with related packages. But after rebooting, I encountered the following error messages:
Errors from xkbcomp are not fatal to the X server
[Parent 1275, Main Thread] WARNING: Failed to enumerate devices of org.freedesktop.UPower: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
:‘glib warning’, file /build/firefox-142.8.1/toolkit/xre/nsSigHandlers.cpp:201
(firefox:1275): WARNING **: Failed to enumerate devices of org.freedesktop.UPower: GDBus.Error: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any service files
So my questions are:
- What’s the correct way to switch from Sway to Niri (or to any other window manager) on NixOS?
- Why do these errors appear to be related to Firefox instead of Niri itself?
Thanks in advance!