diff options
Diffstat (limited to 'custom/simp_le.nix')
-rw-r--r-- | custom/simp_le.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/custom/simp_le.nix b/custom/simp_le.nix new file mode 100644 index 00000000..eb5a448a --- /dev/null +++ b/custom/simp_le.nix | |||
@@ -0,0 +1,12 @@ | |||
1 | { domains ? [] | ||
2 | , simp_le | ||
3 | , lib | ||
4 | , stdenv | ||
5 | }: | ||
6 | |||
7 | let | ||
8 | getcert = domain: '' | ||
9 | echo ${domain} >> /tmp/domains.test | ||
10 | ''; | ||
11 | all = "#!${stdenv}/bin/bash\n\n" + lib.concatMapStringsSep "\n" getcert domains | ||
12 | in builtins.toFile "certs.sh" all | ||