18 lines
391 B
Nix
18 lines
391 B
Nix
{ pkgs, ...}:
|
|
{
|
|
xdg.portal = {
|
|
enable = true;
|
|
wlr.enable = true;
|
|
# gtk portal needed to make gtk apps happy
|
|
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
|
config = {
|
|
common = {
|
|
default = [
|
|
"gtk"
|
|
];
|
|
"org.freedesktop.impl.portal.ScreenCast" = "wlr";
|
|
"org.freedesktop.impl.portal.Screenshot" = "wlr";
|
|
};
|
|
};
|
|
};
|
|
}
|