networking.extraHosts
Additional verbatim entries to be appended to /etc/hosts.
For adding hosts from derivation results, use networking.hostFiles instead.
- Type
strings concatenated with "\n"- Default
""- Example
"192.168.0.1 lanlocalhost"- Declared
- <nixpkgs/nixos/modules/config/networking.nix>