From 7c7747206c696cbc231bef5c161fe6d97eec72ad Mon Sep 17 00:00:00 2001 From: Harish Rajagopal Date: Wed, 10 Sep 2025 00:16:27 +0200 Subject: [PATCH] nixos/crowdsec: Add missing option descriptions --- nixos/modules/services/security/crowdsec.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/nixos/modules/services/security/crowdsec.nix b/nixos/modules/services/security/crowdsec.nix index 9c498fc16e37..7c1c2752006b 100644 --- a/nixos/modules/services/security/crowdsec.nix +++ b/nixos/modules/services/security/crowdsec.nix @@ -170,6 +170,11 @@ in }; }; }; + description = '' + The set of parser specifications. + + See for details. + ''; default = { }; }; postOverflows = lib.mkOption { @@ -198,6 +203,11 @@ in }; }; }; + description = '' + The set of Postoverflows specifications. + + See 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 =