From 851a4cff21eb52d052e58a04f48f87271ea2fd80 Mon Sep 17 00:00:00 2001 From: Soispha Date: Thu, 31 Aug 2023 12:20:00 +0200 Subject: Fix(sys/srvs/xdg): Add gtk desktop portal --- sys/svcs/xdg/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sys/svcs/xdg') diff --git a/sys/svcs/xdg/default.nix b/sys/svcs/xdg/default.nix index 297928ce..1fe60c43 100644 --- a/sys/svcs/xdg/default.nix +++ b/sys/svcs/xdg/default.nix @@ -1,10 +1,15 @@ {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 = [pkgs.xdg-desktop-portal-wlr]; + 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 = {}; -- cgit 1.4.1