From 46c9aa655a491b3dedcd72df835bf18a920e3cd4 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sun, 12 Jun 2022 13:00:24 +0100 Subject: [PATCH] nixos/jackflix: Bind Jackett and Transmission to vpn --- nixos/boxes/colony/vms/shill/containers/jackflix/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/boxes/colony/vms/shill/containers/jackflix/default.nix b/nixos/boxes/colony/vms/shill/containers/jackflix/default.nix index 1fa7324..1d22a12 100644 --- a/nixos/boxes/colony/vms/shill/containers/jackflix/default.nix +++ b/nixos/boxes/colony/vms/shill/containers/jackflix/default.nix @@ -43,6 +43,9 @@ systemd = { services = { + jackett.bindsTo = [ "systemd-networkd-wait-online@vpn.service" ]; + transmission.bindsTo = [ "systemd-networkd-wait-online@vpn.service" ]; + radarr.serviceConfig.UMask = "0002"; }; };