Jas-SinghFSU/HyprPanel

Missing dependencies on NixOS

Closed this issue · 6 comments

Is your feature request related to a problem? Please describe.
Missing dependencies on NixOS.
Stdout errors:

(com.github.Aylur.ags:12560): Gjs-Console-CRITICAL **: 09:37:22.952: net.hadess.PowerProfiles is not available

invoking IsSupported() failed for remote volume monitor with dbus name org.gtk.vfs.UDisks2VolumeMonitor:: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gtk.vfs.UDisks2VolumeMonitor was not provided by any .service files (g-dbus-error-quark, 2)
invoking IsSupported() failed for remote volume monitor with dbus name org.gtk.vfs.GPhoto2VolumeMonitor:: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gtk.vfs.GPhoto2VolumeMonitor was not provided by any .service files (g-dbus-error-quark, 2)
invoking IsSupported() failed for remote volume monitor with dbus name org.gtk.vfs.MTPVolumeMonitor:: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gtk.vfs.MTPVolumeMonitor was not provided by any .service files (g-dbus-error-quark, 2)
invoking IsSupported() failed for remote volume monitor with dbus name org.gtk.vfs.AfcVolumeMonitor:: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gtk.vfs.AfcVolumeMonitor was not provided by any .service files (g-dbus-error-quark, 2)

Describe the solution
Setting:

services.gvfs.enable = true;
services.power-profiles-daemon.enable = true;

Solve the errors. I don't know if it should be in the wiki or the flake/overlay as dependencies.

Just figured out that services.upower.enable = true; was also a requirement for the battery module!

services.gvfs.enable = true;
services.power-profiles-daemon.enable = true;
services.upower.enable = true;

Is this complete?

Yes, everything I tried is working with those!

Perfect, I'll add that to the README and wiki. Thanks!

Could you please give me the complete nix where you're providing these service configs?

Could you please give me the complete nix where you're providing these service configs?

I put those on my hyprpanel.nix file but it can be placed anywhere in the user's config