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 323c01c56cf3094b9122b7947d9f50a0d1325147
parent a2726f8b065506b889685ee555ddadd4a433013a
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 28 Jan 2024 02:00:00 +0100

Debug

Diffstat:
Mnixos/worker-1/configuration.nix | 22++++++++++++----------
Mnixos/worker-2/configuration.nix | 22++++++++++++----------
2 files changed, 24 insertions(+), 20 deletions(-)

diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix @@ -117,24 +117,26 @@ in { gre_nord = { enable = true; netdevConfig = { - Kind = "gre"; + Kind = "geneve"; Name = "gre_nord"; }; - tunnelConfig = { - Local = "10.0.2.1"; - Remote = "10.0.1.2"; - }; + extraConfig = '' + [GENEVE] + Id=1 + Remote=10.0.1.2 + ''; }; gre_worker2 = { enable = true; netdevConfig = { - Kind = "gre"; + Kind = "geneve"; Name = "gre_worker2"; }; - tunnelConfig = { - Local = "10.0.2.1"; - Remote = "10.0.2.2"; - }; + extraConfig = '' + [GENEVE] + Id=1 + Remote=10.0.2.2 + ''; }; floating1 = { enable = true; diff --git a/nixos/worker-2/configuration.nix b/nixos/worker-2/configuration.nix @@ -111,24 +111,26 @@ in { gre_nord = { enable = true; netdevConfig = { - Kind = "gre"; + Kind = "geneve"; Name = "gre_nord"; }; - tunnelConfig = { - Local = "10.0.2.2"; - Remote = "10.0.1.2"; - }; + extraConfig = '' + [GENEVE] + Id=1 + Remote=10.0.1.2 + ''; }; gre_worker1 = { enable = true; netdevConfig = { - Kind = "gre"; + Kind = "geneve"; Name = "gre_worker1"; }; - tunnelConfig = { - Local = "10.0.2.2"; - Remote = "10.0.2.1"; - }; + extraConfig = '' + [GENEVE] + Id=1 + Remote=10.0.2.1 + ''; }; }; networks = {