diff --git a/applications/pelican/pelican.nix b/applications/pelican/pelican.nix index 4360334..1232b4e 100644 --- a/applications/pelican/pelican.nix +++ b/applications/pelican/pelican.nix @@ -313,6 +313,11 @@ in { wantedBy = ["multi-user.target"]; }; + + systemd.tmpfiles.rules = [ + "L+ /etc/letsencrypt/live/${cfg.wing.node_name}.${domain_panel}/fullchain.pem - pelican acme - /var/lib/acme/skynet/fullchain.pem" + "L+ /etc/letsencrypt/live/${cfg.wing.node_name}.${domain_panel}/privkey.pem - pelican acme - /var/lib/acme/skynet/key.pem" + ]; }) ]; }