From b997a7a9edac86bf57360dd22674ab6ad25f9af9 Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Tue, 12 Nov 2024 20:11:52 +0100 Subject: [PATCH] nixos/magi: Add basic GoBGP configuration --- nixos/module/magi.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/nixos/module/magi.nix b/nixos/module/magi.nix index edf9e88..dd31743 100644 --- a/nixos/module/magi.nix +++ b/nixos/module/magi.nix @@ -116,4 +116,20 @@ enable = true; }; }; + + services.gobgpd = { + enable = true; + settings = { + global = { + as = 208250; + }; + + neighbors = [ + { + neighbor-address = "2a0f:be00:0001::"; + peer-as = 208250; + } + ]; + }; + }; }