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