hackens-org-configurations/hosts/hackens-org/modules/acme-ssl.nix
2022-03-31 09:36:51 +02:00

13 lines
269 B
Nix

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