MyNixOS website logo
option

networking.fqdnOrHostName

Either the fully qualified domain name (FQDN), or just the host name if it does not exists.

This is a convenience option for modules to read instead of fqdn when a mere hostName is also an acceptable value; this option does not throw an error when domain is unset.

Declarations
Type
string
Default
if cfg.domain == null then cfg.hostName else cfg.fqdn