Use default hosts file
authorsheepfleece <redacted>
Tue, 12 May 2020 05:08:05 +0000 (08:08 +0300)
committersheepfleece <redacted>
Tue, 12 May 2020 05:08:05 +0000 (08:08 +0300)
readme_template.md

index 0a7490cb92468f35da933d2ddf2f314732bb3ca0..00f12807f8a61624d50a39d3d2100296125a8091 100644 (file)
@@ -155,14 +155,14 @@ to remove hosts from the generated hosts file.
 #### Using NixOS:
 
 To install hosts file on your machine add the following into your `configuration.nix`:
-
 ```haskell
   networking.extraHosts = let 
-    hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts;
+    hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
     hostsFile = builtins.fetchurl hostsPath;
   in builtins.readFile "${hostsFile}";
 ```
 
+* NOTE: Change `hostsPath` if you need other versions of hosts file. 
 * NOTE: The call to `fetchurl` is impure. 
 Use `fetchFromGitHub` with the exact commit if you want to always get the same result.
 
git clone https://git.99rst.org/PROJECT