From 515939677b8da817e36df236d4e904b6c7d1db86 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Mon, 8 Mar 2021 19:38:26 +0100 Subject: [PATCH] fuuko/torrent: Add resolv.conf to aria2 netns MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Even though aria2 doesn’t respect it, it is useful for for debugging. --- machines/fuuko/services/torrent.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/machines/fuuko/services/torrent.nix b/machines/fuuko/services/torrent.nix index 94b06fe..d5e2bb9 100644 --- a/machines/fuuko/services/torrent.nix +++ b/machines/fuuko/services/torrent.nix @@ -108,6 +108,10 @@ in privateKeyFile = config.krops.secrets.wg-aria-private-key.path; } // (import ../secrets/aria2-wireguard.nix); # potentially sensitive data + environment.etc."netns/aria2/resolv.conf".text = '' + nameserver 193.138.218.74 + ''; + systemd.services.aria2 = { description = "aria2 Service"; after = [ "wireguard-wg-aria.service" ];