summaryrefslogtreecommitdiff
path: root/custom/simp_le.nix
diff options
context:
space:
mode:
Diffstat (limited to 'custom/simp_le.nix')
-rw-r--r--custom/simp_le.nix3
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}:
5dir: 5#dir:
6domain: 6domain:
7 7
8let 8let
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}