6447694214
generate-secrets.sh will also be used in generate-secrets.nix, so DRY its dependency definitions.
7 lines
164 B
Nix
7 lines
164 B
Nix
{ pkgs }: with pkgs;
|
|
|
|
writeScript "generate-secrets" ''
|
|
export PATH=${lib.makeBinPath [ coreutils apg openssl ]}
|
|
. ${./generate-secrets.sh} ${./openssl.cnf}
|
|
''
|