Created
September 23, 2018 06:35
-
-
Save jethrokuan/b94078fc721472f1ca96ad0a9132a361 to your computer and use it in GitHub Desktop.
Hosts file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{pkgs, ...}: | |
let | |
hostsVersion = "1553048103e57638ae653843ae1b8258ece1423a"; | |
in | |
{ | |
networking.networkmanager.enable = true; | |
networking.extraHosts = builtins.readFile (pkgs.fetchurl { | |
url = "https://github.com/StevenBlack/hosts/raw/${hostsVersion}/alternates/fakenews-gambling-porn/hosts"; | |
sha256 = "0i10vdfpk98ddld6z6z32bw6q1wd0a7p2ayr1hrpckl6zckfrmn3"; | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment