services.gobgpd.settings
NixOS option
GoBGP configuration. Refer to https://github.com/osrg/gobgp#documentation for details on supported values.
type: TOML valueDefault
{ }Example
declared in: nixos/modules/services/networking/gobgpd.nixView source on NixOS/nixpkgs →{
global = {
config = {
as = 64512;
router-id = "192.168.255.1";
};
};
neighbors = [
{
config = {
neighbor-address = "10.0.255.1";
peer-as = 65001;
};
}
{
config = {
neighbor-address = "10.0.255.2";
peer-as = 65002;
};
}
];
}