I am running hyprland with both XDP-hyprland and XDP-gtk installed, but the gtk portal is systematically dead on start-up.
$ systemctl --user status xdg-desktop-portal-gtk.service
○ xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)
Loaded: loaded (/etc/systemd/user/xdg-desktop-portal-gtk.service; linked-runtime; preset: ignored)
Active: inactive (dead)
And this is how it is installed:
{ inputs, pkgs, ... }:
{
programs.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.system}.default;
portalPackage =
inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
};
xdg.portal = {
enable = true;
xdgOpenUsePortal = true;
config = {
common.default = [ "gtk" ];
hyprland.default = [
"gtk"
"hyprland"
];
};
extraPortals = [
pkgs.xdg-desktop-portal-gtk
];
};
}
Is there something wrong with the way it is installed ?