enable = lib.mkEnableOption "Enable commento website";
};
config = lib.mkIf cfg.enable {
+ myServices.dns.zones."immae.eu".subdomains.commento =
+ with config.myServices.dns.helpers; ips servers.eldiron.ips.main;
+
+ myServices.chatonsProperties.services.commento = {
+ file.datetime = "2022-08-21T01:11:00";
+ service = {
+ name = "Commento";
+ description = "Commento is a fast, privacy-focused commenting platform";
+ website = "https://commento.immae.eu";
+ logo = "https://commento.immae.eu/images/logo.svg";
+ status.level = "OK";
+ status.description = "OK";
+ registration."" = ["MEMBER" "CLIENT"];
+ registration.load = "OPEN";
+ install.type = "PACKAGE";
+ };
+ software = {
+ name = "Commento";
+ website = "https://www.commento.io/";
+ license.url = "https://gitlab.com/commento/commento/-/blob/master/LICENSE";
+ license.name = "MIT License";
+ version = pkgs.commento.version;
+ source.url = "https://gitlab.com/commento/commento";
+ };
+ };
secrets.keys = {
"commento/env" = {
permissions = "0400";
};
};
+ security.acme.certs.eldiron.extraDomainNames = [ "commento.immae.eu" ];
services.websites.env.tools.vhostConfs.commento = {
certName = "eldiron";
- addToCerts = true;
hosts = [ "commento.immae.eu" ];
root = null;
extraConfig = [