diff options
| author | makefu <github@syntax-fehler.de> | 2015-07-24 13:28:35 +0200 |
|---|---|---|
| committer | makefu <github@syntax-fehler.de> | 2015-07-24 13:28:35 +0200 |
| commit | 03855bbd707cf7ca3e891f9193d55cb031c9ba4b (patch) | |
| tree | 39ada4548a0aecb8ef85344f2d86bafd7b9bede1 /Zpkgs/krebs/github-known_hosts.nix | |
| parent | 8c92c4d7291ecbb66f2254e01e2c1f42722e11bb (diff) | |
| parent | 50162983e041012abbddbb562bb655498f47c354 (diff) | |
Merge branch 'master' of http://cgit.cd/stockholm
Diffstat (limited to 'Zpkgs/krebs/github-known_hosts.nix')
| -rw-r--r-- | Zpkgs/krebs/github-known_hosts.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Zpkgs/krebs/github-known_hosts.nix b/Zpkgs/krebs/github-known_hosts.nix new file mode 100644 index 0000000..302fdd8 --- /dev/null +++ b/Zpkgs/krebs/github-known_hosts.nix @@ -0,0 +1,13 @@ +{ lib, ... }: + +with builtins; +with lib; + +let + github-pubkey = removeSuffix "\n" (readFile ../../Zpubkeys/github.ssh.pub); +in + +toFile "github-known_hosts" + (concatMapStrings + (i: "github.com,192.30.252.${toString i} ${github-pubkey}\n") + (range 0 255)) |
