config/hosts/home-assistant.nix

19 lines
255 B
Nix

{
hlConfig,
...
}:
rec {
hostname = "homeassistant";
managed = false;
ip = "192.168.10.98";
traefikRoutes = [
{
name = "${hostname}";
rule = "Host(`home.${hlConfig.domain}`)";
target = "http://${ip}:8123";
}
];
}