58f8944c92
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
14 lines
328 B
Nix
14 lines
328 B
Nix
{ lib, nodes, pkgs, ... }:
|
|
let
|
|
caCert = nodes.acme.config.test-support.acme.caCert;
|
|
caDomain = nodes.acme.config.test-support.acme.caDomain;
|
|
|
|
in {
|
|
security.acme = {
|
|
server = "https://${caDomain}/dir";
|
|
email = "hostmaster@example.test";
|
|
acceptTerms = true;
|
|
};
|
|
|
|
security.pki.certificateFiles = [ caCert ];
|
|
}
|