From ea6aab5c1c2a3662eeb9675e84840d1e86ca32ea Mon Sep 17 00:00:00 2001 From: Bobbe Date: Sat, 21 Feb 2026 14:04:19 +0100 Subject: [PATCH] Consolidate nix flake documentation in preparation for #3077 --- readme_template.md | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/readme_template.md b/readme_template.md index 5aa2ec615..bab551805 100644 --- a/readme_template.md +++ b/readme_template.md @@ -404,7 +404,15 @@ like this: system = ""; modules = [ hosts.nixosModule { - networking.stevenBlackHosts.enable = true; + networking.stevenBlackHosts = { + enable = true; + # optionally: + # enableIPv6 = true; + # blockFakenews = true; + # blockGambling = true; + # blockPorn = true; + # blockSocial = true; + }; } ]; }; @@ -412,22 +420,6 @@ like this: } ``` -The hosts extensions are also available with the following options: - -```nix -{ - networking.stevenBlackHosts = { - enableIPv6 = true; - blockFakenews = true; - blockGambling = true; - blockPorn = true; - blockSocial = true; - }; -} -``` - -IPv6 rules are enabled by default when `networking.enableIPv6` is set to `true`. - ## Updating hosts file on Windows (NOTE: See also some third-party Hosts managers, listed below.)