From 480d03e2f738fb5192a272eb349abf08ce3fb4e5 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 19 Jan 2025 22:31:07 +0100 Subject: ... --- accounts/gkleen@sif/niri/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'accounts/gkleen@sif/niri') diff --git a/accounts/gkleen@sif/niri/default.nix b/accounts/gkleen@sif/niri/default.nix index a774e483..944d1812 100644 --- a/accounts/gkleen@sif/niri/default.nix +++ b/accounts/gkleen@sif/niri/default.nix @@ -125,6 +125,19 @@ in { ]; config = { + xdg.portal = { + enable = true; + config.niri = { + default = ["gnome" "gtk"]; + "org.freedesktop.impl.portal.FileChooser" = ["gtk"]; + "org.freedesktop.impl.portal.OpenFile" = ["gtk"]; + "org.freedesktop.impl.portal.Access" = ["gtk"]; + "org.freedesktop.impl.portal.Notification" = ["gtk"]; + "org.freedesktop.impl.portal.Secret" = ["gnome-keyring"]; + "org.freedesktop.impl.portal.Inhibit" = ["none"]; + }; + }; + systemd.user.services.xwayland-satellite = { Unit = { BindsTo = [ "graphical-session.target" ]; -- cgit v1.2.3