1
Fork 0
satellite/hosts/nixos/common/optional/xdg-portal.nix

11 lines
279 B
Nix
Raw Normal View History

2023-04-27 01:08:20 +02:00
{ pkgs, lib, ... }: {
xdg.portal = {
enable = true;
xdgOpenUsePortal = true;
2023-04-27 15:36:14 +02:00
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
2023-04-27 01:08:20 +02:00
};
# HACK: copied from @lily on discord.
systemd.user.services.xdg-desktop-portal.path = lib.mkAfter [ "/run/current-system/sw" ];
}