24 lines
493 B
Nix
24 lines
493 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
xdg.portal = {
|
|
enable = true;
|
|
extraPortals = with pkgs; [
|
|
xdg-desktop-portal-gtk
|
|
xdg-desktop-portal-gnome
|
|
xdg-desktop-portal-hyprland
|
|
];
|
|
config = {
|
|
common = {
|
|
default = [ "*" ];
|
|
};
|
|
niri = {
|
|
default = [
|
|
"gtk"
|
|
"gnome"
|
|
];
|
|
"org.freedesktop.impl.portal.ScreenCast" = [ "gnome" ];
|
|
"org.freedesktop.impl.portal.Screenshot" = [ "gnome" ];
|
|
};
|
|
};
|
|
};
|
|
}
|