11 lines
275 B
Nix
11 lines
275 B
Nix
|
{ pkgs, lib, ... }: {
|
||
|
xdg.portal = {
|
||
|
enable = true;
|
||
|
xdgOpenUsePortal = true;
|
||
|
extraPortals = [ pkgs.xdg-desktop-portal ];
|
||
|
};
|
||
|
|
||
|
# HACK: copied from @lily on discord.
|
||
|
systemd.user.services.xdg-desktop-portal.path = lib.mkAfter [ "/run/current-system/sw" ];
|
||
|
}
|