git.99rst.org
/
stevenblack-hosts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
471a2d4
)
Add NixOS to the 'Reloading hosts file' section
author
Denis Lehmann
<redacted>
Wed, 6 Oct 2021 07:29:25 +0000
(09:29 +0200)
committer
Denis Lehmann
<redacted>
Wed, 6 Oct 2021 07:29:25 +0000
(09:29 +0200)
readme_template.md
patch
|
blob
|
history
diff --git
a/readme_template.md
b/readme_template.md
index 92a846fe173953e15554981dbb7a0ccb64f6625c..60ecfccefdf53cc74bbaf3ad8f215a91538a0271 100644
(file)
--- a/
readme_template.md
+++ b/
readme_template.md
@@
-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