Networking: Difference between revisions

imported>Klaymore
Added hosts file section
imported>Klaymore
m Fixed indenting in hosts file snippet
Line 7: Line 7:
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
networking.extraHosts = ''
networking.extraHosts = ''
    127.0.0.2 other-localhost
  127.0.0.2 other-localhost
    10.0.0.1 server
  10.0.0.1 server
  '';
'';
</syntaxhighlight>
</syntaxhighlight>