mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-07-01 02:36:52 +00:00
Add NixOS to the 'Reloading hosts file' section
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user