Commit 3dc05fbe authored by Moritz 'e1mo' Fromm's avatar Moritz 'e1mo' Fromm Committed by Yureka
Browse files

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

parent 6a38c71d
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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;