Skip to content
Snippets Groups Projects

Use `networking.fqdn` to define `targetHost`, rather than constructing it ourselves.

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -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
Loading