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

This commit is contained in:
Sandro Jäckel 2024-05-25 00:42:36 +02:00
parent 8a1be53c94
commit b064e2db69
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

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)}";