hackens-org-configurations/hosts/hackens-org/acme-ssl.nix
2022-04-03 15:54:55 +00: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;
}