networking.fqdn

NixOS option

The fully qualified domain name (FQDN) of this host. By default, it is the result of combining networking.hostName and networking.domain. Using this option will result in an evaluation error if the hostname is empty or no domain is specified. Modules that accept a mere networking.hostName but prefer a fully qualified domain name may use networking.fqdnOrHostName instead.

type: string
Default
"${networking.hostName}.${networking.domain}"
declared in: nixos/modules/tasks/network-interfaces.nixView source on NixOS/nixpkgs →