Add NixOS IPv6 documentation to readme

This commit is contained in:
Gavin John
2025-01-21 15:47:09 -08:00
parent e457be3a9c
commit ec8562f9f6

View File

@ -405,6 +405,7 @@ The hosts extensions are also available with the following options:
```nix ```nix
{ {
networking.stevenBlackHosts = { networking.stevenBlackHosts = {
enableIPv6 = true;
blockFakenews = true; blockFakenews = true;
blockGambling = true; blockGambling = true;
blockPorn = true; blockPorn = true;
@ -413,6 +414,8 @@ The hosts extensions are also available with the following options:
} }
``` ```
IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`.
## Updating hosts file on Windows ## Updating hosts file on Windows
(NOTE: See also some third-party Hosts managers, listed below.) (NOTE: See also some third-party Hosts managers, listed below.)