{ lib, ... }: with lib; { options.services.home-assistant = { config = mkOption { type = with lib.types; nullOr (submodule { options = { http = { use_x_forwarded_for = mkOption { type = nullOr bool; default = null; }; trusted_proxies = mkOption { type = nullOr (either str (listOf str)); default = null; }; }; }; }); }; }; }