mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
dad06fb922
The added README.md explains why this has been done.
14 lines
218 B
Nix
14 lines
218 B
Nix
let
|
|
domain = "acme.test";
|
|
in {
|
|
inherit domain;
|
|
ca = {
|
|
cert = ./ca.cert.pem;
|
|
key = ./ca.key.pem;
|
|
};
|
|
"${domain}" = {
|
|
cert = ./. + "/${domain}.cert.pem";
|
|
key = ./. + "/${domain}.key.pem";
|
|
};
|
|
}
|