diff --git a/lib/types/plugins.nix b/lib/types/plugins.nix index bd409b6c..5e5a3a44 100644 --- a/lib/types/plugins.nix +++ b/lib/types/plugins.nix @@ -95,9 +95,9 @@ }; rhs = mkOption { - type = nullOr str; + type = nullOr (either str luaInline); default = null; - description = "Action to trigger"; + description = "Action to trigger. luaInline code will be wrapped in a function."; }; mode = mkOption {