From 100bc017f32c9d1f1c04b343c19153ff730a16c5 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 13 Jan 2016 04:38:11 +0100 Subject: mockup of simp_le --- custom/simp_le.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 custom/simp_le.nix (limited to 'custom') 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 @@ +{ 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 -- cgit v1.2.3