nixos/bird-lg: Add support for traceroute-flags

This commit is contained in:
Moritz 'e1mo' Fromm 2023-04-14 14:36:06 +02:00 committed by Yureka
parent 6a38c71d3c
commit 3dc05fbe40

View File

@ -33,6 +33,7 @@ let
"--bird" = px.birdSocket;
"--listen" = px.listenAddress;
"--traceroute_bin" = px.traceroute.binary;
"--traceroute_flags" = concatStringsSep " " px.traceroute.flags;
"--traceroute_raw" = px.traceroute.rawOutput;
};
@ -216,6 +217,12 @@ in
description = lib.mdDoc "Traceroute's binary path.";
};
flags = mkOption {
type = with types; listOf str;
default = [ ];
description = lib.mdDoc "Flags for traceroute process";
};
rawOutput = mkOption {
type = types.bool;
default = false;