nixos/services/mariaDB.nix
derped 92cd95d6ce
mysql: Use ensure* options, split definition up into service files.
note/reason for split: nixos submodule option names aren't standardized...
2019-12-20 08:48:37 +01:00

10 lines
167 B
Nix

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