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 ++++++++++++ ymir.nix | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 custom/simp_le.nix 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 diff --git a/ymir.nix b/ymir.nix index d7c862ef..fda8a991 100644 --- a/ymir.nix +++ b/ymir.nix @@ -130,6 +130,8 @@ in rec { enable = true; systab = '' %weekly * * nix-collect-garbage --delete-older-than '7d' + + %monthly * * * ${pkgs.callPackage ./custom/simp_le.nix { domains = ["dirty-haskell.org", "www.dirty-haskell.org", "git.yggdrasil.li", "git.dirty-haskell.org", "git.141.li"]; } } ''; }; -- cgit v1.2.3