From c942e5ce7c6751106c48664242960cf7105dcd01 Mon Sep 17 00:00:00 2001 From: David Delarosa Date: Thu, 20 Nov 2025 14:40:34 +0200 Subject: [PATCH] add portals.conf file --- nix/nixos-modules.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/nix/nixos-modules.nix b/nix/nixos-modules.nix index 5d0aa61e..889c99ef 100644 --- a/nix/nixos-modules.nix +++ b/nix/nixos-modules.nix @@ -26,6 +26,28 @@ in { xdg.portal = { enable = lib.mkDefault true; + config = { + mango = { + default = [ + "wlr" + "gtk" + ]; + "org.freedesktop.impl.portal.Secret" = [ + "gnome-keyring" + ]; + "org.freedesktop.impl.portal.ScreenCast" = [ + "gtk" + ]; + + "org.freedesktop.impl.portal.Access" = ["gtk"]; + "org.freedesktop.impl.portal.Notification" = ["gtk"]; + }; + }; + extraPortals = with pkgs; [ + xdg-desktop-portal-wlr + xdg-desktop-portal-gtk + ]; + wlr.enable = lib.mkDefault true; configPackages = [cfg.package];