nixos/services/mariaDB.nix

13 lines
185 B
Nix

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