okay, sheesh. i tried the pkgs.lib.mkForce
thingie (cos without pkgs.
i would have declared it in { config, pkgs, inputs, lib, ... }
and it seems a little silly, isnt it, to include it just for…) for
xdg.portal.extraPortals = pkgs.lib.mkForce [
pkgs.lxqt.xdg-desktop-portal-lxqt
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland
pkgs.xdg-desktop-portal-termfilechooser
# ...
];
and it worked! the gtk portal and everything gnome related is gone, including xdg-desktop-portal-gtk
! gtk themes and file choosers/pickers work flawlessly! thanks SO much! <3
P.S. yes, my hyprland is a flake, so i had to write down its inputs.
to extraPortals
again, otherwise it would’ve gotten deleted. same goes for lxqt and any other environment or backend.
interestingly, but xdg.portal.lxqt.enable = pkgs.lib.mkForce true;
does not seem to force installation of the pkgs.lxqt.xdg-desktop-portal-lxqt
, so i had to write it down in extraPortals
.
P.P.S. if you are curious, yes, every gtk application works as expected! incredibly, i knew what i was doing all along!

P.P.P.S. no, i still do not, in fact, know the module that pulls the xdg-desktop-portal-gtk
dependancy, but it doesnt matter anyway… i also still seem to have the gnome session (GNOME/Openbox) in my desktop manager (greetd
with tuigreet
), but i think this is fine… until it will bother me so much i will have to make another post…