Skip to content

Bird2

services.bird2.autoReload

Whether bird2 should be automatically reloaded when the configuration changes.

Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/bird.nix

services.bird2.checkConfig

Whether the config should be checked at build time. When the config can't be checked during build time, for example when it includes other files, either disable this option or use preCheckConfig to create the included files before checking.

Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/bird.nix

services.bird2.config

BIRD Internet Routing Daemon configuration file. http://bird.network.cz/

Type: strings concatenated with "\n"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/bird.nix

services.bird2.enable

Whether to enable BIRD Internet Routing Daemon. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/bird.nix

services.bird2.preCheckConfig

Commands to execute before the config file check. The file to be checked will be available as bird2.conf in the current directory.

Files created with this option will not be available at service runtime, only during build time checking.

Type: strings concatenated with "\n"

Default

""

Example

'' echo "cost 100;" > include.conf''

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/bird.nix