1
0
Fork 0

mediaserver: configure nameserver

This commit is contained in:
Daniel Kempkens 2023-04-18 23:20:35 +02:00
parent a02e115efa
commit 91781a4dd8
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -3,6 +3,14 @@
{
environment.systemPackages = with pkgs; [ wireguard-tools ];
environment.etc."netns/wg/resolv.conf" = {
mode = "0644";
text = ''
# de-fra-wg-004
nameserver 10.64.0.1
'';
};
systemd.services."netns@" = {
description = "%I network namespace";
before = [ "network.target" ];