nixos/crowdsec: Add missing option descriptions

This commit is contained in:
Harish Rajagopal
2025-09-10 00:16:27 +02:00
parent 32b33ec421
commit 7c7747206c

View File

@@ -170,6 +170,11 @@ in
};
};
};
description = ''
The set of parser specifications.
See <https://docs.crowdsec.net/docs/parsers/intro> for details.
'';
default = { };
};
postOverflows = lib.mkOption {
@@ -198,6 +203,11 @@ in
};
};
};
description = ''
The set of Postoverflows specifications.
See <https://docs.crowdsec.net/docs/next/log_processor/parsers/intro#postoverflows> for details.
'';
default = { };
};
contexts = lib.mkOption {
@@ -306,6 +316,9 @@ in
};
patterns = lib.mkOption {
type = lib.types.listOf lib.types.package;
description = ''
A list of files containing custom grok patterns.
'';
default = [ ];
example = lib.literalExpression ''
[ (pkgs.writeTextDir "custom_service_logs" (builtins.readFile ./custom_service_logs)) ]
@@ -313,6 +326,9 @@ in
};
};
};
description = ''
The configuration for a crowdsec security engine.
'';
default = { };
};
@@ -473,6 +489,9 @@ in
};
};
};
description = ''
Set of various configuration attributes
'';
};
};
config =