Add NixOS to the 'Reloading hosts file' section
authorDenis Lehmann <redacted>
Wed, 6 Oct 2021 07:29:25 +0000 (09:29 +0200)
committerDenis Lehmann <redacted>
Wed, 6 Oct 2021 07:29:25 +0000 (09:29 +0200)
readme_template.md

index 92a846fe173953e15554981dbb7a0ccb64f6625c..60ecfccefdf53cc74bbaf3ad8f215a91538a0271 100644 (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
git clone https://git.99rst.org/PROJECT