This repository has been archived on 2026-04-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
AsaJS/modules/features/home/xdg.nix
2026-04-09 10:36:32 +07:00

14 lines
No EOL
399 B
Nix

{ pkgs, lib, osconfig, ... }: {
xdg.portal = lib.mkIf osconfig.device.wm.hyprland.enable {
enable = true;
xdgOpenUsePortal = true;
config = {
common.default = ["gtk"];
hyprland.default = ["gtk" "hyprland"];
};
extraPortals = [
pkgs.xdg-desktop-portal-gtk
pkgs.xdg-desktop-portal-hyprland
];
};
}