diff --git a/morph/lib/base.nix b/morph/lib/base.nix index 377ff80ca3eb3d0c4c87a09a3c2ffddb22217f20..f6a9a5f008681df23487f0f065ec4b9b8f982067 100644 --- a/morph/lib/base.nix +++ b/morph/lib/base.nix @@ -31,7 +31,7 @@ # being configured and using variable names complicates a lot of things). # Instead, just tell morph how to reach the node here - by using its fully # qualified domain name. - deployment.targetHost = "${config.networking.hostName}.${config.networking.domain}"; + deployment.targetHost = config.networking.fqdn; assertions = [ # This is a check to save somebody in the future trying to debug why