1
0
Fork 0

mediaserver: configure nameserver

This commit is contained in:
Daniel Kempkens 2023-04-19 00:55:49 +02:00
parent fb3d51814e
commit 3a9e83d818
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -10,6 +10,23 @@
'';
};
environment.etc."netns/wg/nsswitch.conf" = {
mode = "0644";
text = ''
passwd: files systemd
group: files [success=merge] systemd
shadow: files
hosts: files mymachines myhostname dns
networks: files
ethers: files
services: files
protocols: files
rpc: files
'';
};
systemd.services."netns@" = {
description = "%I network namespace";
before = [ "network.target" ];