add portals.conf file

This commit is contained in:
David Delarosa 2025-11-20 14:40:34 +02:00
parent 8e4d3b7aac
commit c942e5ce7c

View file

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