{ inputs, pov, pkgs, lib, config, hostConfig, ... }: let inherit (lib) types; cfg = lib.getAttrFromPath pov config; in { option = { type = types.bool; default = false; }; config = lib.mkIf cfg.enable { modules.presets.zaphyra.smarthome = { mosqitto = true; zigbee2mqtt = true; mqttWebUI = true; influxdb2 = true; telegraf = true; }; }; }