nixos/mopidy: add wants network-online.target to fix warning

(cherry picked from commit b064e2db69)
This commit is contained in:
Sandro Jäckel 2024-05-25 00:42:36 +02:00 committed by github-actions[bot]
parent fb29a558c8
commit 17913ae653

View File

@ -78,6 +78,7 @@ in {
systemd.services.mopidy = {
wantedBy = [ "multi-user.target" ];
after = [ "network-online.target" "sound.target" ];
wants = [ "network-online.target" ];
description = "mopidy music player daemon";
serviceConfig = {
ExecStart = "${mopidyEnv}/bin/mopidy --config ${concatStringsSep ":" ([mopidyConf] ++ cfg.extraConfigFiles)}";