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 = {
portal = {
enable = true;
wlr = {
enable = true;
};
config = {
common = {
default = [
"hyprland"
"gtk"
];
};
hyprland = {
preferred = [
"gtk"
"hyprland"
];
};
sway = {
preferred = [
"gtk"
"wlr"
];
};
};
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
xdg-desktop-portal-wlr
xdg-desktop-portal-hyprland
];
};
};
}