diff --git a/nixos/common/xserver.nix b/nixos/common/xserver.nix index bb2feac..28a59e0 100644 --- a/nixos/common/xserver.nix +++ b/nixos/common/xserver.nix @@ -1,11 +1,22 @@ -{ pkgs, lib, ... }: -let - inherit (lib) - getExe - singleton; -in { - xdg.portal = { + pkgs, + lib, + ... +}: let + inherit + (lib) + getExe + singleton + ; +in { + xdg.portal = { + config = { + common = { + default = [ + "gtk" + ]; + }; + }; enable = true; xdgOpenUsePortal = true; extraPortals = singleton pkgs.xdg-desktop-portal-gtk;