diff --git a/config/nixos/programs/xdg.nix b/config/nixos/programs/xdg.nix new file mode 100644 index 0000000..209796f --- /dev/null +++ b/config/nixos/programs/xdg.nix @@ -0,0 +1,14 @@ +{pkgs, ...}: { + xdg.portal = { + enable = true; + xdgOpenUsePortal = true; + config = { + common.default = ["gtk"]; + hyprland.default = ["gtk" "hyprland"]; + }; + + extraPortals = [ + pkgs.xdg-desktop-portal-gtk + ]; + }; +}