make test vm use mysql db
This commit is contained in:
parent
3429d2ea63
commit
ce44d19168
|
@ -74,7 +74,7 @@ in
|
||||||
default = "localhost";
|
default = "localhost";
|
||||||
description = "Database host.";
|
description = "Database host.";
|
||||||
};
|
};
|
||||||
dbport = mkOption {
|
port = mkOption {
|
||||||
type = with types; nullOr (either int str);
|
type = with types; nullOr (either int str);
|
||||||
default = 3306;
|
default = 3306;
|
||||||
description = "Database port. Not required for sqlite.";
|
description = "Database port. Not required for sqlite.";
|
||||||
|
|
|
@ -26,6 +26,10 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
#autorun = false;
|
#autorun = false;
|
||||||
domainName = "seaf.local";
|
domainName = "seaf.local";
|
||||||
|
db = {
|
||||||
|
type = "mysql";
|
||||||
|
passwordFile = toString (pkgs.writeText "testPW" "lol");
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue