summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-01-13 04:38:11 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2016-01-13 04:38:11 +0100
commit100bc017f32c9d1f1c04b343c19153ff730a16c5 (patch)
treee2f06c193a6b2aaf1bfd5451e225c3ab7001fe65 /custom
parent48406f745f5dacff5a2804ba34f5a24555bde03f (diff)
downloadnixos-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.nix12
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
7let
8 getcert = domain: ''
9 echo ${domain} >> /tmp/domains.test
10 '';
11 all = "#!${stdenv}/bin/bash\n\n" + lib.concatMapStringsSep "\n" getcert domains
12in builtins.toFile "certs.sh" all