mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-20 10:36:25 +00:00
13 lines
189 B
Nix
13 lines
189 B
Nix
{ pkgs, ... }:
|
|
{
|
|
services.mysql = {
|
|
enable = true;
|
|
package = pkgs.mariadb;
|
|
};
|
|
|
|
environment.persistence = {
|
|
"/persist".directories = [
|
|
"/var/lib/mysql"
|
|
];
|
|
};
|
|
}
|