nix packages for repo scripts, automatic SAN for self-signed cert, and ed25519

This commit is contained in:
Henri Dohmen 2026-04-13 09:39:29 +02:00
parent 635372c80e
commit c23d734e09
Signed by: hd
GPG key ID: CECE85C316C78D5F
7 changed files with 96 additions and 73 deletions

View file

@ -0,0 +1,14 @@
# Generates Syncthing TLS certs for managed hosts that don't have one.
{
pkgs,
agenix-pkg,
}:
pkgs.writeShellApplication {
name = "gen-syncthing-cert";
runtimeInputs = [
pkgs.jq
pkgs.syncthing
agenix-pkg
];
text = builtins.readFile ../bin/gen-syncthing-cert;
}