Add common acme configuration for upcoming use of acme
This commit is contained in:
parent
b680cbbd0b
commit
e0c7180ecf
13
config/common/acme.nix
Normal file
13
config/common/acme.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
./acme.nix
|
||||
./default-host-platform.nix
|
||||
./default-state-version.nix
|
||||
./localization.nix
|
||||
|
|
Loading…
Reference in a new issue