From 23b29f0707de8372c4d21f6b722e2cca53985c2d Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sun, 21 Jan 2024 23:27:27 +0000 Subject: [PATCH] nixos/acquisition: Add transmission workaround --- nixos/boxes/kelder/containers/acquisition/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nixos/boxes/kelder/containers/acquisition/default.nix b/nixos/boxes/kelder/containers/acquisition/default.nix index edb7ea7..568ccea 100644 --- a/nixos/boxes/kelder/containers/acquisition/default.nix +++ b/nixos/boxes/kelder/containers/acquisition/default.nix @@ -65,7 +65,13 @@ in systemd = { services = { jackett.bindsTo = [ "systemd-networkd-wait-online@vpn.service" ]; + transmission.bindsTo = [ "systemd-networkd-wait-online@vpn.service" ]; + # https://github.com/NixOS/nixpkgs/issues/258793#issuecomment-1748168206 + transmission.serviceConfig = { + RootDirectoryStartOnly = lib.mkForce false; + RootDirectory = lib.mkForce ""; + }; radarr.serviceConfig.UMask = "0002"; sonarr.serviceConfig.UMask = "0002";