feat : Add modular service to hostname
This commit is contained in:
parent
9453773af6
commit
1637885001
11 changed files with 112 additions and 66 deletions
|
|
@ -1,11 +1,11 @@
|
|||
{ config, ... }:
|
||||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
lib.mkIf config.sACME.enable {
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "admin+contact@wateir.fr";
|
||||
defaults.email = config.sACME.email;
|
||||
|
||||
certs."wateir.fr" = {
|
||||
certs."${config.sACME.domain}" = {
|
||||
dnsProvider = "ovh";
|
||||
environmentFile = "/etc/acme.env";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue