mediaserver: configure nameserver
This commit is contained in:
parent
fb3d51814e
commit
3a9e83d818
1 changed files with 17 additions and 0 deletions
|
@ -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@" = {
|
systemd.services."netns@" = {
|
||||||
description = "%I network namespace";
|
description = "%I network namespace";
|
||||||
before = [ "network.target" ];
|
before = [ "network.target" ];
|
||||||
|
|
Loading…
Reference in a new issue