s0mePC-nix: xdg-portal updated

Signed-off-by: s0me1newithhand7s <117505144+s0me1newithhand7s@users.noreply.github.com>
This commit is contained in:
s0me1newithhand7s 2025-06-17 10:36:09 +03:00
parent 7830f30c37
commit 73673d7383
No known key found for this signature in database

View file

@ -1,19 +1,38 @@
{...}: { {
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"
];
};
sway = {
preferred = [
"gtk"
"wlr"
];
};
}; };
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
xdg-desktop-portal-wlr
xdg-desktop-portal-hyprland
];
}; };
}; };
} }