File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 578578 } ;
579579
580580 networking . fqdn = mkOption {
581- readOnly = true ;
582581 type = types . str ;
583582 default =
584583 if ( cfg . hostName != "" && cfg . domain != null ) then
585584 "${ cfg . hostName } .${ cfg . domain } "
586585 else
587586 throw ''
588- The FQDN is required but cannot be determined. Please make sure that
589- both networking.hostName and networking.domain are set properly.
587+ The FQDN is required but cannot be determined from `networking.hostName`
588+ and `networking.domain`. Please ensure these options are set properly or
589+ set `networking.fqdn` directly.
590590 '' ;
591591 defaultText = literalExpression ''"'' ${networking.hostName}.'' ${networking.domain}"'' ;
592592 description = ''
593- The fully qualified domain name (FQDN) of this host. It is the result
594- of combining `networking.hostName` and `networking.domain.` Using this
595- option will result in an evaluation error if the hostname is empty or
593+ The fully qualified domain name (FQDN) of this host. By default, it is
594+ the result of combining `networking.hostName` and `networking.domain.`
595+
596+ Using this option will result in an evaluation error if the hostname is empty or
596597 no domain is specified.
597598
598599 Modules that accept a mere `networking.hostName` but prefer a fully qualified
You can’t perform that action at this time.
0 commit comments