nixos/services/mariaDB.nix

11 lines
167 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
with lib;
2019-02-26 13:44:40 +01:00
mkIf (elem "mariaDB" config.machine.services) {
services.mysql = rec {
2019-02-26 13:44:40 +01:00
enable = true;
package = pkgs.mariadb;
};
}