diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-13 04:38:11 +0100 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-13 04:38:11 +0100 |
| commit | 100bc017f32c9d1f1c04b343c19153ff730a16c5 (patch) | |
| tree | e2f06c193a6b2aaf1bfd5451e225c3ab7001fe65 /custom | |
| parent | 48406f745f5dacff5a2804ba34f5a24555bde03f (diff) | |
| download | nixos-100bc017f32c9d1f1c04b343c19153ff730a16c5.tar nixos-100bc017f32c9d1f1c04b343c19153ff730a16c5.tar.gz nixos-100bc017f32c9d1f1c04b343c19153ff730a16c5.tar.bz2 nixos-100bc017f32c9d1f1c04b343c19153ff730a16c5.tar.xz nixos-100bc017f32c9d1f1c04b343c19153ff730a16c5.zip | |
mockup of simp_le
Diffstat (limited to 'custom')
| -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 | ||
