From 2c8ed668cab9eeb80b8bf64558471041dfe2eceb Mon Sep 17 00:00:00 2001 From: Bloxx12 Date: Wed, 4 Jun 2025 08:29:36 +0200 Subject: [PATCH] wayland: niri: add xdg portal --- modules/wms/wayland/niri/module.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/wms/wayland/niri/module.nix b/modules/wms/wayland/niri/module.nix index a0e10e2..6c731d0 100644 --- a/modules/wms/wayland/niri/module.nix +++ b/modules/wms/wayland/niri/module.nix @@ -25,5 +25,17 @@ in { environment.systemPackages = builtins.attrValues { inherit (pkgs) xwayland-satellite avizo; }; + + xdg.portal = { + enable = true; + xdgOpenUsePortal = true; + extraPortals = [ + pkgs.xdg-desktop-portal-gtk + ]; + config = { + common.default = ["*"]; + hyprland.default = ["gtk"]; + }; + }; }; }