set default portal to gnome

This commit is contained in:
randogoth 2026-02-09 21:34:16 +02:00
parent fe46738484
commit 9de49aef25

View file

@ -14,6 +14,12 @@ in
{ {
xdg.portal = { xdg.portal = {
enable = true; enable = true;
config = {
common = {
# Ensure GNOME backend handles file dialogs for Electron apps.
default = "gnome";
};
};
extraPortals = [ extraPortals = [
pkgs.xdg-desktop-portal-gnome pkgs.xdg-desktop-portal-gnome
pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-gtk