diff --git a/options.nix b/options.nix index c300d1c..d6458e4 100644 --- a/options.nix +++ b/options.nix @@ -105,11 +105,26 @@ let Mode = router ConnecTo = bar ''; - description = "Configuration supplémentaire pour tinc"; + description = "Configuration supplémentaire pour tinc."; type = lib.types.string; }; }; + quagga = { + enable = mkEnableOption "Enable Quagga + BGP service"; + bgpConfig = mkOption { + type = types.lines; + default = ""; + example ='' + router bgp 65001 + neighbor 10.0.0.1 remote-as 65001 + ''; + description = '' + BGP configuration statements. + ''; + }; + }; + windowsBoot = { enable = mkEnableOption "Activation du démarrage de Windows par Grub"; drive = mkOption {