From 2bb6ed38d2b0e28741a498c64777a5f20eb7af97 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 13 Jan 2016 05:02:51 +0100 Subject: Reverted experiments with simp_le --- custom/simp_le.nix | 18 ------------------ ymir.nix | 2 -- 2 files changed, 20 deletions(-) delete mode 100644 custom/simp_le.nix diff --git a/custom/simp_le.nix b/custom/simp_le.nix deleted file mode 100644 index 659adef5..00000000 --- a/custom/simp_le.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ domains ? [] -, simp_le -, lib -, writeText -}: - -let - getcert = domain: '' - date=$(date -u +'%Y-%m-%d') - mkdir -p /etc/ssl/${domain}/$date /srv/www/acme/${domain} || exit 1 - cd /etc/ssl/${domain}/$date || exit 1 - ${simp_le}/bin/simp_le \ - -f cert.pem -f key.pem -f fullchain.pem -f account_key.json \ - --email phikeebaogobaegh@141.li \ - -d ${domain}:/srv/www/acme/${domain} \ - && ln -fs /etc/ssl/${domain}/$date /etc/ssl/current - ''; -in writeText "certs.sh" (lib.concatMapStringsSep "\n" getcert domains) diff --git a/ymir.nix b/ymir.nix index c844834c..d7c862ef 100644 --- a/ymir.nix +++ b/ymir.nix @@ -130,8 +130,6 @@ in rec { enable = true; systab = '' %weekly * * nix-collect-garbage --delete-older-than '7d' - - %monthly * * * ${pkgs.bash}/bin/bash ${pkgs.callPackage ./custom/simp_le.nix { domains = ["dirty-haskell.org" "www.dirty-haskell.org" "git.yggdrasil.li" "git.dirty-haskell.org" "git.141.li"]; } } 2>&1 | ${pkgs.eject}/bin/logger -p auth.info ''; }; -- cgit v1.2.3