Fixed MySQL option

svn path=/nixos/trunk/; revision=10307
This commit is contained in:
Sander van der Burg 2008-01-28 14:55:12 +00:00
parent f38ed802a6
commit 4341ef80d8

View file

@ -1470,6 +1470,40 @@
};
mysql = {
enable = mkOption {
default = false;
description = "
Whether to enable the MySQL server.
";
};
port = mkOption {
default = "3306";
description = "Port of MySQL";
};
user = mkOption {
default = "nobody";
description = "User account under which MySQL runs";
};
datadir = mkOption {
default = "/var/mysql";
description = "Location where MySQL stores its table files";
};
log_error = mkOption {
default = "/var/log/mysql_err.log";
description = "Location of the MySQL error logfile";
};
pid_file = mkOption {
default = "/var/mysql/mysql.pid";
description = "Location of the file which stores the PID of the MySQL server";
};
};
postgresql = {
enable = mkOption {
default = false;
@ -1519,41 +1553,6 @@
};
mysql = {
enable = mkOption {
default = false;
description = "
Whether to enable the MySQL server.
";
};
port = mkOption {
default = "3306";
description = "Port of MySQL";
};
user = mkOption {
default = "nobody";
description = "User account under which MySQL runs";
};
datadir = mkOption {
default = "/var/mysql";
description = "Location where MySQL stores its table files";
};
log_error = mkOption {
default = "/var/log/mysql_err.log";
description = "Location of the MySQL error logfile";
};
pid_file = mkOption {
default = "/var/mysql/mysql.pid";
description = "Location of the file which stores the PID of the MySQL server";
};
};
installer = {
nixpkgsURL = mkOption {