From f5dd9777f4fef70bc47049c2ac3868ae7045adce Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Fri, 28 Apr 2023 00:07:37 +0200 Subject: [PATCH] mediaserver: Add mounts to systemd units --- system/nixos/jellyfin.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/nixos/jellyfin.nix b/system/nixos/jellyfin.nix index 01a6fb5..6c160f3 100644 --- a/system/nixos/jellyfin.nix +++ b/system/nixos/jellyfin.nix @@ -21,7 +21,7 @@ in { requires = mounts; - after = lib.mkMerge mounts; + after = lib.mkForce ([ "network.target" ] ++ mounts); }; services.nginx.virtualHosts."jellyfin.internal.kempkens.network" = {