description = "FTP configuration";
type = submodule {
options = {
- ldap = mkLdapOptions "FTP" {};
+ ldap = mkLdapOptions "FTP" {
+ proftpd_filter = mkOption { type = str; description = "Filter for proftpd listing in LDAP"; };
+ pure-ftpd_filter = mkOption { type = str; description = "Filter for pure-ftpd listing in LDAP"; };
+ };
};
};
};
description = "Buildbot configuration";
type = submodule {
options = {
+ ssh_key = mkOption {
+ description = "SSH key information";
+ type = submodule {
+ options = {
+ public = mkOption { type = str; description = "Public part of the key"; };
+ private = mkOption { type = lines; description = "Private part of the key"; };
+ };
+ };
+ };
workerPassword = mkOption { description = "Buildbot worker password"; type = str; };
user = mkOption {
description = "Buildbot user";
type = submodule {
options = {
ldap = mkLdapOptions "Gitolite" {};
+ ssh_key = mkOption {
+ description = "SSH key information";
+ type = submodule {
+ options = {
+ public = mkOption { type = str; description = "Public part of the key"; };
+ private = mkOption { type = lines; description = "Private part of the key"; };
+ };
+ };
+ };
};
};
};
description = "Websites configurations";
type = submodule {
options = {
+ christophe_carpentier = mkOption {
+ description = "Christophe Carpentier configuration by environment";
+ type = submodule {
+ options = {
+ agorakit = mkOption {
+ description = "Agorakit configuration";
+ type = submodule {
+ options = {
+ mysql = mkMysqlOptions "Agorakit" {};
+ smtp = mkSmtpOptions "Agorakit";
+ appkey = mkOption { type = str; description = "App key"; };
+ };
+ };
+ };
+ };
+ };
+ };
immae = mkOption {
description = "Immae configuration by environment";
type = submodule {
};
};
};
+ nicecoop = mkOption {
+ description = "Nicecoop configuration";
+ type = submodule {
+ options = {
+ odoo = {
+ port = mkOption { description = "Port to listen to"; type = port; };
+ longpoll_port = mkOption { description = "Port to listen to"; type = port; };
+ postgresql = mkPsqlOptions "Odoo";
+ admin_password = mkOption { type = str; description = "Admin password"; };
+ };
+ gestion-compte = {
+ mysql = mkMysqlOptions "gestion-compte" {};
+ secret = mkOption { type = str; description = "Application secret"; };
+ adminpassword = mkOption { type = str; description = "Admin password"; };
+ };
+ gestion-compte-integration = {
+ smtp = mkSmtpOptions "GestionCompte";
+ mysql = mkMysqlOptions "gestion-compte" {};
+ secret = mkOption { type = str; description = "Application secret"; };
+ adminpassword = mkOption { type = str; description = "Admin password"; };
+ };
+ };
+ };
+ };
emilia = mkOption {
description = "Emilia configuration";
type = submodule {
};
};
};
-
- privateFiles = mkOption {
- type = path;
- description = ''
- Path to secret files to make available during build
- '';
- };
};
options.hostEnv = mkOption {
readOnly = true;