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 2d0a2b95881705c32acd44ef8b12a011774e4af2
parent 9917b9e3d58178f2cfd91f7fe4f0649cbb77c1e7
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 27 Jan 2024 22:37:24 +0100

defeated

Diffstat:
Mnixos/worker-1/configuration.nix | 26++++++++------------------
Mnixos/worker-2/configuration.nix | 25+++++++------------------
2 files changed, 15 insertions(+), 36 deletions(-)

diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix @@ -472,26 +472,16 @@ in { import all; }; } - protocol ospf MyOSPF { - ecmp yes; - ## Boilerplate taken from Bird's example docs https://bird.network.cz/?get_doc&v=20&f=bird-6.html#ss6.8 + + protocol babel { + interface "enp7s0" { + type wired; + }; ipv4 { - export filter { - if source = RTS_BGP then { - ospf_metric1 = 100; - accept; - } - reject; - }; + export where (source = RTS_DEVICE) || (source = RTS_BABEL); }; - area 0.0.0.0 { - networks { - 10.0.3.0/24; - }; - interface "enp7s0" { - bfd; - #type ptp; # VPN tunnels should be point-to-point - }; + ipv6 { + export where (source = RTS_DEVICE) || (source = RTS_BABEL); }; } ''; diff --git a/nixos/worker-2/configuration.nix b/nixos/worker-2/configuration.nix @@ -678,26 +678,15 @@ in { import all; }; } - protocol ospf MyOSPF { - ecmp yes; - ## Boilerplate taken from Bird's example docs https://bird.network.cz/?get_doc&v=20&f=bird-6.html#ss6.8 + protocol babel { + interface "enp7s0" { + type wired; + }; ipv4 { - export filter { - if source = RTS_BGP then { - ospf_metric1 = 100; - accept; - } - reject; - }; + export where (source = RTS_DEVICE) || (source = RTS_BABEL); }; - area 0.0.0.0 { - networks { - 10.0.3.0/24; - }; - interface "enp7s0" { - bfd; - #type ptp; # VPN tunnels should be point-to-point - }; + ipv6 { + export where (source = RTS_DEVICE) || (source = RTS_BABEL); }; } '';