about summary refs log tree commit diff
path: root/nixos/modules/services/audio/jmusicbot.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/audio/jmusicbot.nix')
-rw-r--r--nixos/modules/services/audio/jmusicbot.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/audio/jmusicbot.nix b/nixos/modules/services/audio/jmusicbot.nix
index fd1d4da192843..e7803677d0fd9 100644
--- a/nixos/modules/services/audio/jmusicbot.nix
+++ b/nixos/modules/services/audio/jmusicbot.nix
@@ -26,6 +26,7 @@ in
   config = mkIf cfg.enable {
     systemd.services.jmusicbot = {
       wantedBy = [ "multi-user.target" ];
+      wants = [ "network-online.target" ];
       after = [ "network-online.target" ];
       description = "Discord music bot that's easy to set up and run yourself!";
       serviceConfig = mkMerge [{