~kaction/config

ref: 871614e344d8ece5ad973fd71d112e24c2a35586 config/system-v2/hosts.nix -rw-r--r-- 519 bytes
871614e3 — Dmitry Bogatov nix-sys: add "kaction" user into "video" group 11 months 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"