nix-config/nixos/_mixins/optional/mysql.nix
Greg Burd 86706b1fc7 wimpy-ified
inspired by wimpysworld nix-config
2023-09-25 14:05:07 -04:00

13 lines
189 B
Nix

{ pkgs, ... }:
{
services.mysql = {
enable = true;
package = pkgs.mariadb;
};
environment.persistence = {
"/persist".directories = [
"/var/lib/mysql"
];
};
}