summaryrefslogtreecommitdiff
path: root/custom/simp_le.nix
blob: eb5a448a28b21f9d7e1efea9352de941cb8114d8 (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 builtins.toFile "certs.sh" all