I just upgraded to 2.11.0 and now get an error with the uiskie service:
gi.repository.GLib.GError: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UDisks2 was not provided by any .service files (2)
Nix 2.11 is not related to udisks2.
There has to have happened more to make that fail. And for me it seems as if
udisksctl still seems to work as expected.
Quoting from NixOS 22.11 release notes:
The udisks2 service, available at
services.udisks2.enable , is now disabled by default. It will automatically be enabled through services and desktop environments as needed. This also means that polkit will now actually be disabled by default. The default for
security.polkit.enable was already flipped in the previous release, but udisks2 being enabled by default re-enabled it.
Thanks @jtojnar , that was it.
(Maybe I should read the release notes next time!!)