nixos/services/mariaDB.nix

14 lines
173 B
Nix
Raw Normal View History

2023-09-11 20:23:04 +02:00
{
config,
lib,
pkgs,
...
}:
with lib;
mkIf (elem "mariaDB" config.machine.services) {
services.mysql = rec {
enable = true;
package = pkgs.mariadb;
};
}