hackens-org-configurations/hosts/hackens-org/acme-ssl.nix

14 lines
269 B
Nix
Raw Permalink Normal View History

2022-03-31 09:36:51 +02:00
# 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;
}