networking.hostFiles
NixOS option
Files that should be concatenated together to form /etc/hosts.
type: list of absolute pathDefault
<rendered-html><p>Hosts from <code class="interpreted-text" role="option">networking.hosts</code> and <code class="interpreted-text" role="option">networking.extraHosts</code></p> </rendered-html>
Example
declared in: nixos/modules/config/networking.nixView source on NixOS/nixpkgs →[ "${pkgs.my-blocklist-package}/share/my-blocklist/hosts" ]