Skip to content

Commit

Permalink
Add NixOS to the 'Reloading hosts file' section
Browse files Browse the repository at this point in the history
  • Loading branch information
Deleh committed Oct 6, 2021
1 parent 471a2d4 commit b727fd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readme_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b727fd3

Please sign in to comment.