xdg-desktop-portal-wlr: propery document its dependency on pipewire

This commit is contained in:
Colin 2024-04-02 09:01:35 +00:00
parent ae87160de3
commit d2751237c1

View File

@ -26,8 +26,9 @@ in
services.xdg-desktop-portal-wlr = {
description = "xdg-desktop-portal-wlr backend (provides screenshot functionality for xdg-desktop-portal)";
# depends = [ "graphical-session" ];
depends = [ "pipewire" ]; # refuses to start without it
dependencyOf = [ "xdg-desktop-portal" ];
# partOf = [ "graphical-session" ];
command = "${cfg.package}/libexec/xdg-desktop-portal-wlr";
readiness.waitDbus = "org.freedesktop.impl.portal.desktop.wlr";