reNixos/wanda/xdg/portal.nix
s0me1newithhand7s 3640ca2a81 wanda: new host (NixOS-WSL)
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
2026-02-08 22:23:05 +03:00

35 lines
651 B
Nix

{pkgs, ...}: {
xdg = {
portal = {
enable = true;
config = {
common = {
"org.freedesktop.impl.portal.FileChooser" = "termfilechooser";
default = [
"gtk"
];
};
hyprland = {
"org.freedesktop.impl.portal.FileChooser" = [
"termfilechooser"
];
preferred = [
"gtk"
"hyprland"
];
};
};
extraPortals = with pkgs; [
xdg-desktop-portal
xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland
xdg-desktop-portal-termfilechooser
];
};
};
}