From ac4c501926839bc6f8a9ebff4de3c9eee2d24afe Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 19 Jan 2025 22:34:40 +0100 Subject: ... --- hosts/sif/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'hosts') diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix index 9f35c52a..5a8fd59a 100644 --- a/hosts/sif/default.nix +++ b/hosts/sif/default.nix @@ -730,6 +730,15 @@ in { xdg.portal = { enable = true; extraPortals = with pkgs; [xdg-desktop-portal-gtk]; + 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"]; + }; }; environment.persistence."/.bcachefs" = { -- cgit v1.2.3