swaync: ensure it starts *after* pipewire-pulse so that the mpris plugin can function

This commit is contained in:
Colin 2024-03-13 07:53:45 +00:00
parent 8dacb93861
commit 5e1a6062af

View File

@ -498,7 +498,10 @@ in
# swaync ships its own service, but i want to add `environment` variables and flags for easier debugging.
# seems that's not possible without defining an entire nix-native service (i.e. this).
description = "swaynotificationcenter (swaync) desktop notification daemon";
after = [ "graphical-session.target" ];
after = [
"graphical-session.target"
"pipewire-pulse.service" #< TODO: else it will NEVER see the pulse socket in its sandbox
];
# partOf = [ "graphical-session.target" ];
wantedBy = [ "graphical-session.target" ];