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" ]; + }; + }; }