xdg-desktop-portal: link applications so that DynamicLauncher portal can work

This commit is contained in:
2024-02-26 22:31:48 +00:00
parent fc7814e6cd
commit a7c325c8e1

View File

@@ -43,6 +43,9 @@ in
# the portal is a launcher, needs to handle anything
sandbox.enable = false;
# portal can use the same .desktop files from the rest of my config.
fs.".local/share/xdg-desktop-portal/applications".symlink.target = "../applications";
services.xdg-desktop-portal = {
description = "xdg-desktop-portal freedesktop.org portal (URI opener, file chooser, etc)";
after = [ "graphical-session.target" ];