parent
1725120a49
commit
a3e2a970f8
11 changed files with 845 additions and 772 deletions
pkgs/cert
17
pkgs/cert/default.nix
Normal file
17
pkgs/cert/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
runCommand,
|
||||
pkgs,
|
||||
|
||||
}:
|
||||
|
||||
runCommand "patagia-certs"
|
||||
{
|
||||
buildInputs = with pkgs; [
|
||||
openssl
|
||||
];
|
||||
|
||||
}
|
||||
''
|
||||
mkdir -pv $out
|
||||
openssl req -new -x509 -days 365 -nodes -out $out/cert.pem -keyout $out/key.pem -subj "/CN=patagia-signing"
|
||||
''
|
Loading…
Add table
Add a link
Reference in a new issue