Consolidate nix flake documentation in preparation for #3077
authorBobbe <redacted>
Sat, 21 Feb 2026 13:04:19 +0000 (14:04 +0100)
committerBobbe <redacted>
Mon, 23 Feb 2026 15:09:53 +0000 (16:09 +0100)
readme_template.md

index 5aa2ec615931eddad6f828fae9a4660b56a7ecd9..bab551805a64c7319263902ec05fe95f03a32830 100644 (file)
@@ -404,7 +404,15 @@ like this:
       system = "<architecture>";
       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.)
git clone https://git.99rst.org/PROJECT