treewide/xdg: portal fix

Signed-off-by: s0me1newithhand7s <117505144+s0me1newithhand7s@users.noreply.github.com>
This commit is contained in:
s0me1newithhand7s 2025-07-26 11:33:04 +03:00
parent 660572882d
commit 909ddb64ec
No known key found for this signature in database
2 changed files with 15 additions and 11 deletions

View file

@ -1,16 +1,27 @@
{...}: {
{pkgs, ...}: {
xdg = {
portal = {
enable = true;
wlr.enable = true;
config = {
common = {
default = [
"hyprland"
"gtk"
];
};
hyprland = {
preferred = [
"gtk"
"hyprland"
];
};
};
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland
];
};
};
}