profiles/dn42-router: Automatically generate peering documentation
This commit is contained in:
@@ -11,6 +11,9 @@ let
|
||||
bgp6Table = 2342;
|
||||
|
||||
in {
|
||||
imports = [
|
||||
./documentation.nix
|
||||
];
|
||||
|
||||
options.profiles.clerie.dn42-router = {
|
||||
enable = mkEnableOption "DN42 router base config";
|
||||
@@ -93,6 +96,10 @@ in {
|
||||
type = types.str;
|
||||
default = "";
|
||||
};
|
||||
htmlDocumentation = mkOption {
|
||||
type = types.str;
|
||||
description = "This option is set by the module itself and contains the documentation for this router setup";
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf config.profiles.clerie.dn42-router.enable {
|
||||
|
||||
Reference in New Issue
Block a user