mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
16 lines
270 B
Nix
16 lines
270 B
Nix
|
{ lib, nodes, pkgs, ... }:
|
||
|
|
||
|
let
|
||
|
acme-ca = nodes.acme.config.test-support.acme.caCert;
|
||
|
in
|
||
|
|
||
|
{
|
||
|
security.acme = {
|
||
|
server = "https://acme.test/dir";
|
||
|
email = "hostmaster@example.test";
|
||
|
acceptTerms = true;
|
||
|
};
|
||
|
|
||
|
security.pki.certificateFiles = [ acme-ca ];
|
||
|
}
|