home-assistant.nix (391B)
1 { vars, ... }: 2 { 3 4 services.home-assistant = { 5 enable = true; 6 config = { 7 homeassistant = { 8 name = "Home"; 9 time_zone = "Europe/London"; 10 unit_system = "metric"; 11 }; 12 13 http = { 14 use_x_forwarded_for = true; 15 trusted_proxies = [ "127.0.0.1" ]; 16 }; 17 18 default_config = {}; 19 }; 20 21 extraComponents = [ "tplink" ]; 22 }; 23 24 }