mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-18 05:19:00 +00:00
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
|
||||
defaultConfig = {
|
||||
homeassistant.time_zone = config.time.timeZone;
|
||||
http.server_port = (toString cfg.port);
|
||||
http.server_port = cfg.port;
|
||||
} // optionalAttrs (cfg.lovelaceConfig != null) {
|
||||
lovelace.mode = "yaml";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user