wayland: niri: add xdg portal
This commit is contained in:
parent
a64bc12cf1
commit
2c8ed668ca
1 changed files with 12 additions and 0 deletions
|
@ -25,5 +25,17 @@ in {
|
||||||
environment.systemPackages = builtins.attrValues {
|
environment.systemPackages = builtins.attrValues {
|
||||||
inherit (pkgs) xwayland-satellite avizo;
|
inherit (pkgs) xwayland-satellite avizo;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
xdgOpenUsePortal = true;
|
||||||
|
extraPortals = [
|
||||||
|
pkgs.xdg-desktop-portal-gtk
|
||||||
|
];
|
||||||
|
config = {
|
||||||
|
common.default = ["*"];
|
||||||
|
hyprland.default = ["gtk"];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue