diff --git a/pkgs/servers/home-assistant/custom-components/xiaomi_miot/package.nix b/pkgs/servers/home-assistant/custom-components/xiaomi_miot/package.nix index 6934aa251e9f..005284c76b6a 100644 --- a/pkgs/servers/home-assistant/custom-components/xiaomi_miot/package.nix +++ b/pkgs/servers/home-assistant/custom-components/xiaomi_miot/package.nix @@ -30,11 +30,24 @@ buildHomeAssistantComponent rec { passthru.updateScript = nix-update-script { }; - meta = with lib; { + meta = { changelog = "https://github.com/al-one/hass-xiaomi-miot/releases/tag/v${version}"; description = "Automatic integrate all Xiaomi devices to HomeAssistant via miot-spec, support Wi-Fi, BLE, ZigBee devices"; + longDescription = '' + Xiaomi Miot For HomeAssistant depends on `ffmpeg` and `homekit`, example how to setup in NixOS `configuration.nix`: + + ``` + { config, lib, pkgs, ... }: + { + services.home-assistant = { + customComponents = [ pkgs.home-assistant-custom-components.xiaomi_miot ]; + extraComponents = [ "ffmpeg" "homekit" ]; + }; + } + ``` + ''; homepage = "https://github.com/al-one/hass-xiaomi-miot"; - maintainers = with maintainers; [ azuwis ]; - license = licenses.asl20; + maintainers = with lib.maintainers; [ azuwis ]; + license = lib.licenses.asl20; }; }