13 lines
173 B
Nix
13 lines
173 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib;
|
|
mkIf (elem "mariaDB" config.machine.services) {
|
|
services.mysql = rec {
|
|
enable = true;
|
|
package = pkgs.mariadb;
|
|
};
|
|
}
|