make test vm use mysql db

mainline
Trolli Schmittlauch 2021-01-30 00:59:25 +01:00
parent 3429d2ea63
commit ce44d19168
2 changed files with 21 additions and 17 deletions

View File

@ -74,7 +74,7 @@ in
default = "localhost";
description = "Database host.";
};
dbport = mkOption {
port = mkOption {
type = with types; nullOr (either int str);
default = 3306;
description = "Database port. Not required for sqlite.";

View File

@ -26,6 +26,10 @@
enable = true;
#autorun = false;
domainName = "seaf.local";
db = {
type = "mysql";
passwordFile = toString (pkgs.writeText "testPW" "lol");
};
};
}