nixos/services/mariaDB.nix

14 lines
185 B
Nix
Raw Normal View History

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