modules/performance: add ability to byte compile lua plugins

This commit adds `performance.byteCompileLua.plugins` toggle that, if
enabled, byte compiles all lua files in plugins
This commit is contained in:
Stanislav Asunkin 2024-07-17 21:06:30 +03:00 committed by GaetanLepage
parent 44849233e0
commit 55ca9d235b
3 changed files with 92 additions and 2 deletions

View file

@ -18,6 +18,9 @@ in
default = true;
example = false;
};
plugins = lib.mkEnableOption "plugins" // {
description = "Whether to byte compile lua plugins.";
};
};
combinePlugins = {