Update portals configuration

This commit is contained in:
Yorick Barbanneau 2023-12-24 00:11:06 +01:00
parent d3b83da522
commit 5f3c13ca91

View file

@ -1,9 +1,18 @@
{ config, pkgs, ...}: { pkgs, ...}:
{ {
xdg.portal = { xdg.portal = {
enable = true; enable = true;
wlr.enable = true; wlr.enable = true;
# gtk portal needed to make gtk apps happy # gtk portal needed to make gtk apps happy
extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
config = {
common = {
default = [
"gtk"
];
"org.freedesktop.impl.portal.ScreenCast" = "wlr";
"org.freedesktop.impl.portal.Screenshot" = "wlr";
};
};
}; };
} }