16 lines
347 B
Nix
16 lines
347 B
Nix
{pkgs, ...}: {
|
|
xdg.portal = {
|
|
enable = true;
|
|
extraPortals = with pkgs; [
|
|
xdg-desktop-portal-wlr
|
|
xdg-desktop-portal-gtk
|
|
];
|
|
config = {
|
|
preferred = {
|
|
default = "gtk";
|
|
"org.freedesktop.impl.portal.Screenshot" = "wlr";
|
|
"org.freedesktop.impl.portal.Screencast" = "wlr";
|
|
};
|
|
};
|
|
};
|
|
}
|