infrastructure/machines/core-services-01/acme-ssl.nix

15 lines
269 B
Nix
Raw Normal View History

{ config, lib, ... }:
let
my = config.my;
in
{
security.acme.acceptTerms = true;
security.acme.defaults.email = my.email;
security.acme.defaults.server =
if my.acmeStaging
then "https://acme-staging-v02.api.letsencrypt.org/directory"
else null;
}