diff options
author | Soispha <soispha@vhack.eu> | 2023-11-25 13:01:21 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-11-25 13:01:21 +0100 |
commit | b57ee1e7135c64bcd95a86c63aabd6696bfe355f (patch) | |
tree | dbee366b6f97e2cfc4921747af31d650ea43e06a /sys | |
parent | chore(treewide): Update shell library (diff) | |
download | nixos-config-b57ee1e7135c64bcd95a86c63aabd6696bfe355f.tar.gz nixos-config-b57ee1e7135c64bcd95a86c63aabd6696bfe355f.zip |
fix(sys/svcs/xdg/portals): Use new configuration scheme
Diffstat (limited to 'sys')
-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 ]; }; }; |