feat(mako): add enable option
This commit is contained in:
@@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user