diff options
| -rw-r--r-- | sys/seat/default.nix | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/sys/seat/default.nix b/sys/seat/default.nix index 374ae69..ae9cd77 100644 --- a/sys/seat/default.nix +++ b/sys/seat/default.nix @@ -114,7 +114,24 @@ in }; }; - xdg.portal.wlr.enable = true; + xdg.portal = { + enable = true; + wlr.enable = true; + extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; + xdgOpenUsePortal = true; + + # warning: xdg-desktop-portal 1.17 reworked how portal implementations are loaded, you + # should either set `xdg.portal.config` or `xdg.portal.configPackages` + # to specify which portal backend to use for the requested interface. + # + # https://github.com/flatpak/xdg-desktop-portal/blob/1.18.1/doc/portals.conf.rst.in + # + # If you simply want to keep the behaviour in < 1.17, which uses the first + # portal implementation found in lexicographical order, use the following: + # + # xdg.portal.config.common.default = "*"; + config.common.default = "*"; + }; users.groups.adbusers.gid = 1008; }) |
