From b6598902fb87e51f2142746a3415c0d562f1a4aa Mon Sep 17 00:00:00 2001 From: Sweetbread Date: Sun, 1 Mar 2026 01:21:29 +0300 Subject: [PATCH] Fix FileChooser in Hyprland --- modules/user/hyprland.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/user/hyprland.nix b/modules/user/hyprland.nix index 17963b2..63e19d9 100644 --- a/modules/user/hyprland.nix +++ b/modules/user/hyprland.nix @@ -202,4 +202,17 @@ in { ]; }; }; + + xdg.portal = { + enable = true; + + extraPortals = [ + pkgs.xdg-desktop-portal-gtk + ]; + + config.common = { + default = [ "hyprland" "gtk" ]; + "org.freedesktop.impl.portal.FileChooser" = [ "gtk" ]; + }; + }; }