mirror of
https://github.com/gburd/nix-config.git
synced 2024-09-09 11:26:12 +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"
|
||
|
];
|
||
|
};
|
||
|
}
|