diff options
author | Thomas Churchman <thomas@kepow.org> | 2022-02-24 12:37:29 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2023-12-19 08:34:50 +0100 |
commit | 972626f1422fbdfa9be799c97a83fd30c5de5d90 (patch) | |
tree | d9e75714fa5f5924f30b3f2bde310fe4910f1157 /nixos/modules/services/audio | |
parent | 04d48f3896d318804545a1c72bd9699527105c2d (diff) | |
download | nixlib-972626f1422fbdfa9be799c97a83fd30c5de5d90.tar nixlib-972626f1422fbdfa9be799c97a83fd30c5de5d90.tar.gz nixlib-972626f1422fbdfa9be799c97a83fd30c5de5d90.tar.bz2 nixlib-972626f1422fbdfa9be799c97a83fd30c5de5d90.tar.lz nixlib-972626f1422fbdfa9be799c97a83fd30c5de5d90.tar.xz nixlib-972626f1422fbdfa9be799c97a83fd30c5de5d90.tar.zst nixlib-972626f1422fbdfa9be799c97a83fd30c5de5d90.zip |
mopidy: make service wait until system is online
Diffstat (limited to 'nixos/modules/services/audio')
-rw-r--r-- | nixos/modules/services/audio/mopidy.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/audio/mopidy.nix b/nixos/modules/services/audio/mopidy.nix index 40e8679f53d7..9d8e67b0ea47 100644 --- a/nixos/modules/services/audio/mopidy.nix +++ b/nixos/modules/services/audio/mopidy.nix @@ -76,7 +76,7 @@ in { systemd.services.mopidy = { wantedBy = [ "multi-user.target" ]; - after = [ "network.target" "sound.target" ]; + after = [ "network-online.target" "sound.target" ]; description = "mopidy music player daemon"; serviceConfig = { ExecStart = "${mopidyEnv}/bin/mopidy --config ${concatStringsSep ":" ([mopidyConf] ++ cfg.extraConfigFiles)}"; |