2024-02-02 16:59:07 +01:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
services.mysql = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.mariadb;
|
2024-02-02 21:13:44 +01:00
|
|
|
settings.mysqld.bind_address = "127.0.0.1";
|
2024-02-02 16:59:07 +01:00
|
|
|
};
|
2024-02-02 21:41:44 +01:00
|
|
|
services.mysqlBackup = {
|
|
|
|
enable = true;
|
|
|
|
user = "mysql";
|
|
|
|
location = "/var/lib/backup/mysql";
|
|
|
|
databases = [
|
|
|
|
"decisions"
|
|
|
|
"fsrewsp"
|
|
|
|
"nightline"
|
|
|
|
"wiki_ese"
|
|
|
|
"wiki_vernetzung"
|
|
|
|
];
|
|
|
|
};
|
2024-02-02 16:59:07 +01:00
|
|
|
}
|