};
};
- imports = [
- ../commons/stats.nix
- ];
-
config = lib.mkMerge [
(lib.mkIf cfg.production.enable {
- deployment.keys = piedsjaloux_prod.keys;
- services.myWebsites.commons.stats.enable = true;
- services.myWebsites.commons.stats.sites = [
- {
- name = "piedsjaloux.fr";
- conf = ./goaccess.conf;
- }
- ];
+ secrets.keys = piedsjaloux_prod.keys;
+ services.webstats.sites = [ { name = "piedsjaloux.fr"; } ];
security.acme.certs."piedsjaloux" = config.services.myCertificates.certConfig // {
domain = "piedsjaloux.fr";
};
})
(lib.mkIf cfg.integration.enable {
- deployment.keys = piedsjaloux_dev.keys;
+ secrets.keys = piedsjaloux_dev.keys;
security.acme.certs."eldiron".extraDomains."piedsjaloux.immae.eu" = null;
services.myPhpfpm.preStart.piedsjaloux_dev = piedsjaloux_dev.phpFpm.preStart;
services.myPhpfpm.serviceDependencies.piedsjaloux_dev = piedsjaloux_dev.phpFpm.serviceDeps;