30 lines
615 B
Nix
30 lines
615 B
Nix
{pkgs, ...}: {
|
|
# xdg.portal = {
|
|
# enable = true;
|
|
# config.common.default = "*";
|
|
# wlr.enable = true;
|
|
# xdgOpenUsePortal = true;
|
|
# extraPortals = [ pkgs.xdg-desktop-portal pkgs.xdg-desktop-portal-gtk ];
|
|
# };
|
|
xdg.portal = {
|
|
enable = true;
|
|
xdgOpenUsePortal = true;
|
|
wlr.enable = true;
|
|
config = {
|
|
common = {
|
|
default = [
|
|
"gtk"
|
|
"gnome"
|
|
];
|
|
};
|
|
niri = {
|
|
default = [
|
|
"gtk"
|
|
"gnome"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
xdg.portal.extraPortals = [pkgs.xdg-desktop-portal-wlr pkgs.xdg-desktop-portal-gtk];
|
|
}
|