1 { lib, pkgs, config, mylibs, ... }:
3 cfg = config.services.myWebsites.Chloe;
5 options.services.myWebsites.Chloe = {
7 enable = lib.mkEnableOption "enable Chloe's website in production";
10 enable = lib.mkEnableOption "enable Chloe's website in integration";
14 config = lib.mkMerge [
15 (lib.mkIf cfg.production.enable {
16 security.acme.certs."chloe" = config.services.myCertificates.certConfig // {
17 domain = "osteopathe-cc.fr";
19 "www.osteopathe-cc.fr" = null;
23 (lib.mkIf cfg.integration.enable {
24 security.acme.certs."eldiron".extraDomains."chloe.immae.eu" = null;