~kaction/config

ref: 42707d29c994c30956608b9c9f10cbaf1d00add4 config/system-v2/hosts.nix -rw-r--r-- 519 bytes
42707d29 — Dmitry Bogatov nix-sys: generate build system inside of build system 1 year, 1 day ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
{ runCommand }:
let
  # Mirror for list generated by hectorm/hblock. Upstream provides
  # nightly snapshots, but I need something stable. Dropbox links
  # are ugly, I know, but I found no other better gratis and
  # permanent storage.
  dropbox = part: "https://www.dropbox.com/s/${part}?dl=1";
  src = builtins.fetchurl {
    url = dropbox "5ijevtagpidy2et/hosts-2020-12-13.gz";
    sha256 = "0k7k09gai1w107mq5x20yld5cd0l1xk2bw1cg2wxmn8mi4ga4rxa";
  };
in runCommand "hosts" { inherit src; } "gzip -d < $src > $out"