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

@ -7,13 +7,7 @@
common = { common = {
default = [ default = [
"gtk" "gtk"
]; "wlr"
};
hyprland = {
preferred = [
"gtk"
"hyprland"
]; ];
}; };
@ -28,7 +22,6 @@
extraPortals = with pkgs; [ extraPortals = with pkgs; [
xdg-desktop-portal-gtk xdg-desktop-portal-gtk
xdg-desktop-portal-wlr xdg-desktop-portal-wlr
xdg-desktop-portal-hyprland
]; ];
}; };
}; };

View file

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