{pkgs, ...}: { services.dbus.enable = true; xdg = { portal = { enable = true; # TODO: only enable the below, when on river (or wlr based compositor) wlr.enable = true; extraPortals = [ # NOTE: The next entry is supposedly needed for gtk based apps <2023-08-31> pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-wlr ]; }; }; # TODO: mime = {}; }