summary refs log tree commit diff stats
path: root/modules/by-name/ng/nginx/module.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/by-name/ng/nginx/module.nix')
-rw-r--r--modules/by-name/ng/nginx/module.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/by-name/ng/nginx/module.nix b/modules/by-name/ng/nginx/module.nix
index 6a82147..9c77652 100644
--- a/modules/by-name/ng/nginx/module.nix
+++ b/modules/by-name/ng/nginx/module.nix
@@ -36,6 +36,9 @@ in {
   };
 
   config = lib.mkIf cfg.enable {
+    vhack.persist.directories = [
+      "/var/lib/acme"
+    ];
     security.acme = {
       acceptTerms = true;
       defaults = {