From 55fe2c81edbbc861613b48a7a7bc61715b48b883 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Wed, 1 Jan 2025 19:32:47 +0000 Subject: [PATCH] feat: by default the wing will look in a specific location for teh certs, which isnt teh right one for us, so provide a symlink to teh right ones --- applications/pelican/pelican.nix | 5 +++++ 1 file changed, 5 insertions(+) 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" + ]; }) ]; }