xdg fixes

This commit is contained in:
cnst
2024-07-31 09:22:34 +02:00
parent 920771ce28
commit 228d20cbbf
5 changed files with 18 additions and 17 deletions

14
nixos/core/xdg.nix Normal file
View File

@@ -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
];
};
}