fuuko/torrent: Add resolv.conf to aria2 netns

Even though aria2 doesn’t respect it, it is useful for for debugging.
This commit is contained in:
Simon Bruder 2021-03-08 19:38:26 +01:00
parent d73da1a131
commit 515939677b
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -108,6 +108,10 @@ in
privateKeyFile = config.krops.secrets.wg-aria-private-key.path; privateKeyFile = config.krops.secrets.wg-aria-private-key.path;
} // (import ../secrets/aria2-wireguard.nix); # potentially sensitive data } // (import ../secrets/aria2-wireguard.nix); # potentially sensitive data
environment.etc."netns/aria2/resolv.conf".text = ''
nameserver 193.138.218.74
'';
systemd.services.aria2 = { systemd.services.aria2 = {
description = "aria2 Service"; description = "aria2 Service";
after = [ "wireguard-wg-aria.service" ]; after = [ "wireguard-wg-aria.service" ];