nix/nixos/common/modules/hosts.nix

7 lines
280 B
Nix
Raw Normal View History

2024-06-21 08:50:45 +02:00
{ ... }: {
networking.extraHosts = builtins.readFile(builtins.fetchurl {
2024-06-21 08:59:53 +02:00
url = "https://github.com/blocklistproject/Lists/raw/f2bdd1deab05f6a22739671cc20a17444e53699f/everything.txt";
2024-06-21 08:57:45 +02:00
sha256 = "78d393a897656c92bb0c96ff79fc99205830ce0c2a66abe33ae333ad11a8b0c5";
2024-06-21 08:50:45 +02:00
});
}