system.nssDatabases.hosts

NixOS option

List of hosts entries to configure in /etc/nsswitch.conf. Note that “files” is always prepended, and “dns” and “myhostname” are always appended. This option only takes effect if nscd is enabled.

type: list of string
Default
[ ]
declared in: nixos/modules/config/nsswitch.nixView source on NixOS/nixpkgs →