fuuko/torrent: Add resolv.conf to aria2 netns

Even though aria2 doesn’t respect it, it is useful for for debugging.
pull/48/head
Simon Bruder 2021-03-08 19:38:26 +01:00
parent d73da1a131
commit 515939677b
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 4 additions and 0 deletions

View File

@ -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" ];