1
0
Fork 0

add external_url to home-assistant

This commit is contained in:
ibizaman 2023-07-03 00:26:57 -07:00
parent 97e02fc87c
commit 15e2edb4d6

View file

@ -13,6 +13,12 @@ in
example = "ha";
};
domain = lib.mkOption {
type = lib.types.str;
description = "domain under which home-assistant will be served.";
example = "mydomain.com";
};
sopsFile = lib.mkOption {
type = lib.types.path;
description = "Sops file location";
@ -65,6 +71,7 @@ in
};
logger.default = "info";
homeassistant = {
external_url = "https://${cfg.subdomain}.${cfg.domain}";
country = "!secret country";
latitude = "!secret latitude_home";
longitude = "!secret longitude_home";