Fixed MySQL option
svn path=/nixos/trunk/; revision=10307
This commit is contained in:
parent
f38ed802a6
commit
4341ef80d8
|
@ -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 = {
|
postgresql = {
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
default = false;
|
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 = {
|
installer = {
|
||||||
|
|
||||||
nixpkgsURL = mkOption {
|
nixpkgsURL = mkOption {
|
||||||
|
|
Loading…
Reference in a new issue