diff --git a/system/nixos/wireguard-netns.nix b/system/nixos/wireguard-netns.nix index ccbe7ec..0a87b7d 100644 --- a/system/nixos/wireguard-netns.nix +++ b/system/nixos/wireguard-netns.nix @@ -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" ];