reNixos/s0mePC-nix/xdg/portal.nix
s0me1newithhand7s a3a633b169
s0mePC-nix: fmt
Signed-off-by: s0me1newithhand7s <117505144+s0me1newithhand7s@users.noreply.github.com>
2025-06-17 10:38:00 +03:00

35 lines
774 B
Nix

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