diff options
Diffstat (limited to 'sys/svcs/xdg/default.nix')
-rw-r--r-- | sys/svcs/xdg/default.nix | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/sys/svcs/xdg/default.nix b/sys/svcs/xdg/default.nix index 1fe60c43..4f6db4a1 100644 --- a/sys/svcs/xdg/default.nix +++ b/sys/svcs/xdg/default.nix @@ -3,12 +3,20 @@ 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 + config = { + common = { + # NOTE: The next entry is supposedly needed for gtk based apps <2023-08-31> + default = ["gtk"]; + }; + + # TODO: Also activate, when on another wlr-based compositor <2023-11-25> + river = { + default = ["wlr"]; + }; + }; + extraPortals = with pkgs; [ + xdg-desktop-portal-gtk + xdg-desktop-portal-wlr ]; }; }; |