pythonPathHome = mkOption { type = bool; description = "Whether to add project’s python home to python path"; };
workerPort = mkOption { type = port; description = "Port for the worker"; };
secrets = mkOption {
- type = attrsOf str;
- description = "Secrets for the project to dump as files";
+ #type = attrsOf (either str (functionTo str));
+ type = attrsOf unspecified;
+ description = "Secrets for the project to dump as files. Might be a function that takes pkgs as argument";
};
environment = mkOption {
- type = attrsOf str;
+ #type = attrsOf (either str (functionTo str));
+ type = attrsOf unspecified;
description = ''
- Environment variables for the project.
+ Environment variables for the project. Might be a function that takes pkgs as argument.
BUILDBOT_ is prefixed to the variable names
'';
};
options = {
production = chloeSubmodule;
integration = chloeSubmodule;
+ new = mkOption {
+ description = "environment configuration";
+ type = submodule {
+ options = {
+ mysql = mkMysqlOptions "ChloeNew" {};
+ ldap = mkLdapOptions "ChloeNew" {};
+ secret = mkOption { type = str; description = "Symfony App secret"; };
+ };
+ };
+ };
};
};
};