From: Denis Lehmann Date: Wed, 6 Oct 2021 07:29:25 +0000 (+0200) Subject: Add NixOS to the 'Reloading hosts file' section X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=b727fd3885099242b05cf914ef13f036ce46a446;p=stevenblack-hosts.git Add NixOS to the 'Reloading hosts file' section --- diff --git a/readme_template.md b/readme_template.md index 92a846fe1..60ecfccef 100644 --- a/readme_template.md +++ b/readme_template.md @@ -419,6 +419,8 @@ Then modify the `hosts` line in your `/etc/nsswitch.conf` file to the following: hosts: cache files dns ``` +**NixOS**: The `nscd.service` is automatically restarted when the option `networking.extraHosts` was changed. + **Others**: Consult [this Wikipedia article](https://en.wikipedia.org/wiki/Hosts_%28file%29#Location_in_the_file_system). ### macOS