diff options
Diffstat (limited to 'sys/home-assistant/yaml-extra.nix')
| -rw-r--r-- | sys/home-assistant/yaml-extra.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sys/home-assistant/yaml-extra.nix b/sys/home-assistant/yaml-extra.nix new file mode 100644 index 0000000..77d1ed2 --- /dev/null +++ b/sys/home-assistant/yaml-extra.nix @@ -0,0 +1,23 @@ +{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; + }; + }; + }; + }); + }; + }; +} |
