From 566db22374dd53b8a825e3bc1aef8894afaef5cb Mon Sep 17 00:00:00 2001 From: Magic_RB Date: Mon, 3 Apr 2023 01:35:33 +0200 Subject: [PATCH] Fix internal nomad interface on toothpick to wg Signed-off-by: Magic_RB --- nixos/systems/toothpick/nomad.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/systems/toothpick/nomad.nix b/nixos/systems/toothpick/nomad.nix index 060f9f1..c5ee726 100644 --- a/nixos/systems/toothpick/nomad.nix +++ b/nixos/systems/toothpick/nomad.nix @@ -72,6 +72,8 @@ in cidr = secret.network.ips.toothpick + "/32"; }; + network_interface = "wg0"; + host_network."public" = { cidr = "64.225.104.221/32"; reserved_ports = "22";