{ stdenv, writeText , simp_le , eject }: dir: domain: let script = writeText "cert.sh" '' cd $dir ${simp_le}/bin/simp_le -d ${domain}:/srv/www/acme/${domain}/ \ --email "phikeebaogobaegh@141.li" \ -f account_key.json \ -f cert.pem \ -f fullchain.pem \ -f key.pem ''; in "${stdenv}/bin/bash ${script} ${dir} ${domain} > ${eject}/bin/logger -p auth.info"