1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00
nixos/modules/server/sql.nix

14 lines
221 B
Nix

{ config, pkgs, lib, ... }:
with lib;{
config =
let
cfg = config.elss.server.sql;
in
mkIf cfg.enable {
services.mysql = {
enable = true;
package = pkgs.mariadb;
};
};
}