From 36c7e12d694e872e37f015842fad905a4976aa3b Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Sat, 15 Apr 2023 00:04:18 +0200 Subject: [PATCH] mediaserver: prowlarr --- system/nixos/prowlarr.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/system/nixos/prowlarr.nix b/system/nixos/prowlarr.nix index 8826aff..353f15c 100644 --- a/system/nixos/prowlarr.nix +++ b/system/nixos/prowlarr.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, lib, ... }: { services.prowlarr = { @@ -8,7 +8,8 @@ systemd.services.prowlarr = { bindsTo = [ "netns@wg.service" ]; - after = [ "wg.service" ]; + requires = [ "network-online.target" ]; + after = lib.mkForce [ "wg.service" ]; serviceConfig = { NetworkNamespacePath = "/var/run/netns/wg";