mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
16 lines
271 B
Nix
16 lines
271 B
Nix
![]() |
let
|
||
|
domain = "*.test.nix";
|
||
|
domainSanitized = "_.test.nix";
|
||
|
in
|
||
|
{
|
||
|
inherit domain;
|
||
|
ca = {
|
||
|
cert = ./ca.cert.pem;
|
||
|
key = ./ca.key.pem;
|
||
|
};
|
||
|
"${domain}" = {
|
||
|
cert = ./. + "/${domainSanitized}.cert.pem";
|
||
|
key = ./. + "/${domainSanitized}.key.pem";
|
||
|
};
|
||
|
}
|