Add common acme configuration for upcoming use of acme

This commit is contained in:
June 2023-09-14 23:51:40 +02:00
parent b680cbbd0b
commit e0c7180ecf
2 changed files with 14 additions and 0 deletions

13
config/common/acme.nix Normal file
View file

@ -0,0 +1,13 @@
# Common ACME configuration.
# Sources for this configuration:
# - https://nixos.org/manual/nixos/stable/#module-security-acme
# - https://git.grzb.de/yuri/nix-infra/-/blob/aa38daeea59f2ca12b7e591de6f8b61565780c48/configuration/common/default.nix#L48
{ config, pkgs, ... }:
{
security.acme = {
acceptTerms = true;
defaults.email = "julian+nix-infra-cccchh-letsencrypt@jsts.xyz";
};
}

View file

@ -2,6 +2,7 @@
{ {
imports = [ imports = [
./acme.nix
./default-host-platform.nix ./default-host-platform.nix
./default-state-version.nix ./default-state-version.nix
./localization.nix ./localization.nix