Add NixOS to the 'Reloading hosts file' section

This commit is contained in:
Denis Lehmann
2021-10-06 09:29:25 +02:00
parent 471a2d41dd
commit b727fd3885

View File

@@ -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