programs/xdg: setup system-wide portals

This commit is contained in:
Anthony Rodriguez 2025-01-04 22:36:39 +01:00
parent 8967b25c80
commit 23c19987a3
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -0,0 +1,14 @@
{pkgs, ...}: {
xdg.portal = {
enable = true;
xdgOpenUsePortal = true;
config = {
common.default = ["gtk"];
hyprland.default = ["gtk" "hyprland"];
};
extraPortals = [
pkgs.xdg-desktop-portal-gtk
];
};
}