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 6d42de8aba
commit c991b2adea

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 {