about summary refs log tree commit diff
path: root/nixos/modules/services/audio/spotifyd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/audio/spotifyd.nix')
-rw-r--r--nixos/modules/services/audio/spotifyd.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/audio/spotifyd.nix b/nixos/modules/services/audio/spotifyd.nix
index 975be5a87cba9..1194b6f200d70 100644
--- a/nixos/modules/services/audio/spotifyd.nix
+++ b/nixos/modules/services/audio/spotifyd.nix
@@ -50,6 +50,7 @@ in
 
     systemd.services.spotifyd = {
       wantedBy = [ "multi-user.target" ];
+      wants = [ "network-online.target" ];
       after = [ "network-online.target" "sound.target" ];
       description = "spotifyd, a Spotify playing daemon";
       environment.SHELL = "/bin/sh";