mediaserver: configure nameserver
This commit is contained in:
parent
a02e115efa
commit
91781a4dd8
1 changed files with 8 additions and 0 deletions
|
@ -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" ];
|
||||
|
|
Loading…
Reference in a new issue