nixos/home-assistant: make config.http.server_port an integer
This commit is contained in:
parent
e9f4c6496d
commit
efe98cbdc8
@ -53,7 +53,7 @@ let
|
|||||||
# If you are changing this, please update the description in applyDefaultConfig
|
# If you are changing this, please update the description in applyDefaultConfig
|
||||||
defaultConfig = {
|
defaultConfig = {
|
||||||
homeassistant.time_zone = config.time.timeZone;
|
homeassistant.time_zone = config.time.timeZone;
|
||||||
http.server_port = (toString cfg.port);
|
http.server_port = cfg.port;
|
||||||
} // optionalAttrs (cfg.lovelaceConfig != null) {
|
} // optionalAttrs (cfg.lovelaceConfig != null) {
|
||||||
lovelace.mode = "yaml";
|
lovelace.mode = "yaml";
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user