1
0

profiles/dn42-router: Automatically generate peering documentation

This commit is contained in:
2025-12-03 20:23:44 +01:00
parent b768bf6deb
commit 7403159730
2 changed files with 95 additions and 0 deletions

View File

@@ -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 {