feat(mako): add enable option

This commit is contained in:
2026-05-22 10:21:00 +02:00
parent 98a62b262b
commit 9402c16df0

View File

@@ -1,5 +1,16 @@
{ {
services.mako = { config,
enable = true; lib,
...
}:
let
cfg = config.mako;
in
{
options.mako.enable = lib.mkEnableOption "mako";
config = lib.mkIf cfg.enable {
services.mako.enable = true;
}; };
} }