From ab3c9aa228ecaf79fae5cc1d2bdcb84f2e12951e Mon Sep 17 00:00:00 2001 From: sils Date: Mon, 20 Mar 2023 15:43:05 +0100 Subject: Fix(acme): Store certs permanently. Before, new certs were requested at every rebuild. This caused issues due to letsencrypt ratelimiting. --- system/file_system_layouts/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'system/file_system_layouts/default.nix') diff --git a/system/file_system_layouts/default.nix b/system/file_system_layouts/default.nix index 9d03a05..31b0b0b 100644 --- a/system/file_system_layouts/default.nix +++ b/system/file_system_layouts/default.nix @@ -40,6 +40,10 @@ in { device = "/srv/nix-config"; options = ["bind"]; }; + "/var/lib/acme" = { + device = "/srv/acme"; + options = ["bind"]; + }; }; }; } -- cgit 1.4.1