nix packages for repo scripts, automatic SAN for self-signed cert, and ed25519
This commit is contained in:
parent
635372c80e
commit
c23d734e09
7 changed files with 96 additions and 73 deletions
14
packages/gen-syncthing-cert.nix
Normal file
14
packages/gen-syncthing-cert.nix
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue