diff --git a/home/programs/niri/default.nix b/home/programs/niri/default.nix index 9a667e5..8f16689 100644 --- a/home/programs/niri/default.nix +++ b/home/programs/niri/default.nix @@ -9,6 +9,19 @@ in { imports = [./binds.nix]; + xdg.portal = { + enable = true; + xdgOpenUsePortal = true; + extraPortals = [pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-gnome pkgs.gnome-keyring]; + config = { + common = { + default = ["gtk"]; + "org.freedesktop.impl.portal.ScreenCast" = ["gnome"]; + "org.freedesktop.impl.portal.Secret" = ["gnome-keyring"]; + }; + }; + }; + programs.niri = { settings = { input.keyboard.xkb = {