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:
parent
d73da1a131
commit
515939677b
|
@ -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" ];
|
||||||
|
|
Loading…
Reference in a new issue