5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
16 lines
342 B
Nix
16 lines
342 B
Nix
{ lib, nodes, pkgs, ... }:
|
|
let
|
|
caCert = nodes.acme.test-support.acme.caCert;
|
|
caDomain = nodes.acme.test-support.acme.caDomain;
|
|
|
|
in {
|
|
security.acme = {
|
|
acceptTerms = true;
|
|
defaults = {
|
|
server = "https://${caDomain}/dir";
|
|
email = "hostmaster@example.test";
|
|
};
|
|
};
|
|
|
|
security.pki.certificateFiles = [ caCert ];
|
|
}
|