From 8d6c066213395dda4095000b9dde3e2b2264cd3e Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 5 Nov 2021 15:37:51 +0100 Subject: [PATCH] modules: services: nginx: persist SSL certificates --- modules/services/nginx/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/services/nginx/default.nix b/modules/services/nginx/default.nix index 7e4d6f4..8e98ddb 100644 --- a/modules/services/nginx/default.nix +++ b/modules/services/nginx/default.nix @@ -432,5 +432,9 @@ in } ]; }; + + my.system.persist.directories = [ + config.users.user.acme.home + ]; }; }