1 2 3 4 5 6 7 8 9 10 11 12 13
{ lib, ... }: with builtins; with lib; let github-pubkey = removeSuffix "\n" (readFile ./github.ssh.pub); in toFile "github-known_hosts" (concatMapStrings (i: "github.com,192.30.252.${toString i} ${github-pubkey}\n") (range 0 255))