use predefined fqdn instead of generating every time
1 file changed, 2 insertions(+), 2 deletions(-)
changed files
M system/roles/home-automation.nix → system/roles/home-automation.nix
@@ -3,7 +3,7 @@ config, ... }: let - inherit (config.networking) hostName domain; + inherit (config.networking) domain fqdn; image = "ghcr.io/home-assistant/home-assistant"; tag = "stable";@@ -58,6 +58,6 @@ }; }; services.dnsmasq.settings.cname = [ - "ha.${domain},${hostName}.${domain}" + "ha.${domain},${fqdn}" ]; }