diff options
Diffstat (limited to 'custom/simp_le.nix')
-rw-r--r-- | custom/simp_le.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/custom/simp_le.nix b/custom/simp_le.nix index 686533a6..755d8cd6 100644 --- a/custom/simp_le.nix +++ b/custom/simp_le.nix | |||
@@ -2,10 +2,11 @@ | |||
2 | , simp_le | 2 | , simp_le |
3 | , eject | 3 | , eject |
4 | }: | 4 | }: |
5 | dir: | 5 | #dir: |
6 | domain: | 6 | domain: |
7 | 7 | ||
8 | let | 8 | let |
9 | dir = "/etc/ssl/self/${domain}"; | ||
9 | script = writeText "${domain}.sh" '' | 10 | script = writeText "${domain}.sh" '' |
10 | backupDir=/root/ssl_archive/$(date +'%Y-%m-%d')-$$-${domain} | 11 | backupDir=/root/ssl_archive/$(date +'%Y-%m-%d')-$$-${domain} |
11 | mkdir -p ${dir} | 12 | mkdir -p ${dir} |