From 8c3455f152f83bed59014a7f0e84b5e26e7b111e Mon Sep 17 00:00:00 2001 From: ChUrl Date: Sat, 25 Nov 2023 19:45:37 +0100 Subject: [PATCH] Update xdg portals --- system/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/system/default.nix b/system/default.nix index 61d6f82c..4ecd06e4 100644 --- a/system/default.nix +++ b/system/default.nix @@ -193,15 +193,13 @@ with mylib.networking; { # XDG xdg.portal = { enable = true; + wlr.enable = false; # I think hyprland has its own portal automatically enabled... extraPortals = with pkgs; [ - # xdg-desktop-portal-wlr # For wlroots based desktops + xdg-desktop-portal-kde + xdg-desktop-portal-gtk # xdg-desktop-portal-hyprland # Already enabled by hyprland system module - # xdg-desktop-portal-kde - xdg-desktop-portal-gtk # TODO: Keep for GTK apps? E.g. for font antialiasing? Might be required for flatpak GTK apps? - # xdg-desktop-portal-gnome # Gnome # xdg-desktop-portal-termfilechooser # Filepicker using nnn ]; - # gtkUsePortal = true; # Deprecated, don't use (gdm takes ages to load and other fishy stuff) }; # See https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types