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
|
|
@ -1,7 +1,15 @@
|
|||
{ inputs, system }:
|
||||
let
|
||||
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||
inherit (inputs.nixpkgs) lib;
|
||||
var = import ../var { inherit lib; };
|
||||
|
||||
agenix-pkg = inputs.agenix.packages.${system}.default;
|
||||
|
||||
san = builtins.concatStringsSep "," (map (d: "DNS:" + d) (builtins.attrNames var.lan-dns.hosts));
|
||||
in
|
||||
{
|
||||
supernote-tool = pkgs.callPackage ./supernote-tool.nix { };
|
||||
gen-tls-cert = pkgs.callPackage ./gen-tls-cert.nix { inherit agenix-pkg san; };
|
||||
gen-syncthing-cert = pkgs.callPackage ./gen-syncthing-cert.nix { inherit agenix-pkg; };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue