Better HASS configuration

This commit is contained in:
Filippo Berto 2022-12-20 00:58:48 +01:00
parent a4c67fe480
commit db6f8476f1
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED

View file

@ -403,7 +403,47 @@ with lib; {
# unit_system = "metric";
# time_zone = "Europe/Rome";
# };
config = null;
config = {
default_config = { };
homeassistant = {
name = "Casa";
latitude = "!secret home-latitude";
longitude = "!secret home-longitude";
elevation = 86;
unit_system = "metric";
time_zone = "Europe/Rome";
external_url = "https://home-assistant.bertof.net";
};
automation = "!include automations.yaml";
script = "!include scripts.yaml";
scene = "!include scenes.yaml";
http = {
use_x_forwarded_for = true;
trusted_proxies = [ "172.23.252.242" "::1" "127.0.0.1" ];
};
esphome = { };
cloud = { };
config = { };
frontend = { };
history = { };
logbook = { };
# logger.default = "debug";
logger.default = "info";
"map" = { };
mobile_app = { };
mobile_app = { };
recorder.purge_keep_days = 30;
shopping_list = { };
sun = { };
sun = { };
system_health = { };
};
configDir = "/var/lib/hass";
configWritable = true;
extraComponents = [