scripts: Use trap to clean up temp directory

This commit is contained in:
SebastianStork 2026-02-05 22:55:20 +01:00
parent 2c76d23692
commit ec0d5b839e
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
2 changed files with 8 additions and 4 deletions

View file

@ -1,4 +1,9 @@
{ self', pkgs, lib, ... }:
{
self',
pkgs,
lib,
...
}:
pkgs.writeShellApplication {
name = "nebula-regen-all-host-certs";