1
Fork 0
satellite/hosts/nixos/common/optional/xdg-portal.nix
Matei Adriel 1cd3d7a903
Hyprland
2023-05-24 03:17:09 +02:00

13 lines
357 B
Nix

{ pkgs, lib, ... }: {
services.dbus.enable = true;
xdg.portal = {
enable = true;
xdgOpenUsePortal = true;
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
};
# HACK: copied from @lily on discord.
systemd.user.services.xdg-desktop-portal.path = lib.mkAfter [ "/run/current-system/sw" ];
# services.gnome.at-spi2-core.enable = true;
}