summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-09-16 18:01:34 +0000
committerGitHub <noreply@github.com>2023-09-16 18:01:34 +0000
commitc43057cfb654d8f94f3d968aacfd578b5db35712 (patch)
treed93e4d6ca4279d7503f4c5327c501ee8c230c133 /nixos/modules
parent57b9e41dcc45bf142129898a44ea5e0e9e23b402 (diff)
parent4869546e1b2c134f37aeada28ba4bb6b12ca1a7e (diff)
downloadnixpkgs-c43057cfb654d8f94f3d968aacfd578b5db35712.tar
nixpkgs-c43057cfb654d8f94f3d968aacfd578b5db35712.tar.gz
nixpkgs-c43057cfb654d8f94f3d968aacfd578b5db35712.tar.bz2
nixpkgs-c43057cfb654d8f94f3d968aacfd578b5db35712.tar.lz
nixpkgs-c43057cfb654d8f94f3d968aacfd578b5db35712.tar.xz
nixpkgs-c43057cfb654d8f94f3d968aacfd578b5db35712.tar.zst
nixpkgs-c43057cfb654d8f94f3d968aacfd578b5db35712.zip
Merge staging-next into staging
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/misc/jellyfin.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/jellyfin.nix b/nixos/modules/services/misc/jellyfin.nix
index 2a4483199d7..43fdc09f455 100644
--- a/nixos/modules/services/misc/jellyfin.nix
+++ b/nixos/modules/services/misc/jellyfin.nix
@@ -46,7 +46,8 @@ in
   config = mkIf cfg.enable {
     systemd.services.jellyfin = {
       description = "Jellyfin Media Server";
-      after = [ "network.target" ];
+      after = [ "network-online.target" ];
+      wants = [ "network-online.target" ];
       wantedBy = [ "multi-user.target" ];
 
       # This is mostly follows: https://github.com/jellyfin/jellyfin/blob/master/fedora/jellyfin.service