{ domains ? [] , simp_le , lib , writeText }: let getcert = domain: '' echo ${domain} >> /tmp/domains.test ''; in writeText "certs.sh" (lib.concatMapStringsSep "\n" getcert domains)