nixos

NixOS server files. Mirror from https://git.nordgedanken.dev/kubernetes/nixos
git clone git://archive.git.mtrnord.blog/MTRNord/nixos.git
Log | Files | Refs | README

commit 31fd7d46610463171f8573a3ce516403bd3e384e
parent 18ff5bc4ebab4ecfc20e118371464f5aade63764
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 28 Jan 2024 01:14:12 +0100

Debug

Diffstat:
Mnixos/worker-1/configuration.nix | 7++++++-
Mnixos/worker-2/configuration.nix | 13+++++++++++--
2 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix @@ -174,7 +174,12 @@ in { "10.0.2.1/32" ]; routes = [ - {routeConfig.Gateway = "10.0.0.1";} + { + routeConfig = { + Gateway = "10.0.0.1"; + Destination = "10.0.0.0/16"; + }; + } ]; tunnel = [ "gre_worker2" diff --git a/nixos/worker-2/configuration.nix b/nixos/worker-2/configuration.nix @@ -153,7 +153,12 @@ in { "10.0.2.2/32" ]; routes = [ - {routeConfig.Gateway = "10.0.0.1";} + { + routeConfig = { + Gateway = "10.0.0.1"; + Destination = "10.0.0.0/16"; + }; + } ]; tunnel = [ "gre_nordgedanken" @@ -173,7 +178,11 @@ in { Name = "enp1s0"; }; routes = [ - {routeConfig.Gateway = "fe80::1";} + { + routeConfig = { + Gateway = "fe80::1"; + }; + } { routeConfig = { Gateway = "172.31.1.1";