lib: allow luaInline in lz.n map action

This commit is contained in:
Ching Pei Yang 2024-08-04 02:24:10 +02:00 committed by Pei Yang Ching
parent 97aa39bc02
commit 2e2a34f9ac

View file

@ -94,9 +94,9 @@
}; };
rhs = mkOption { rhs = mkOption {
type = nullOr str; type = nullOr (either str luaInline);
default = null; default = null;
description = "Action to trigger"; description = "Action to trigger. luaInline code will be wrapped in a function.";
}; };
mode = mkOption { mode = mkOption {