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];