HOSTS-readme-11.nix
· 199 B · Nix
Orginalformat
{
networking.extraHosts = let
hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
hostsFile = builtins.fetchurl hostsPath;
in builtins.readFile "${hostsFile}";
}
1 | { |
2 | networking.extraHosts = let |
3 | hostsPath = https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts; |
4 | hostsFile = builtins.fetchurl hostsPath; |
5 | in builtins.readFile "${hostsFile}"; |
6 | } |