blob: ee93d2c4fd2edaf5a00fceb8c6dc23d86db05288 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
{ domains ? []
, simp_le
, lib
, stdenv
}:
let
getcert = domain: ''
echo ${domain} >> /tmp/domains.test
'';
all = "#!${stdenv}/bin/bash\n\n" + lib.concatMapStringsSep "\n" getcert domains;
in pkgs.writeText "certs.sh" all
|