mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-11-16 23:38:03 +00:00
Add NixOS to the 'Reloading hosts file' section
This commit is contained in:
1 parent
471a2d41dd
commit
b727fd3885
1 file changed
+2
@@ -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