starting mc config

This commit is contained in:
Chris Kruining 2024-09-10 22:59:21 +02:00
parent f0c9cb0e23
commit bbf6d19757

View file

@ -0,0 +1,18 @@
{ config, options, lib, pkgs, ... }:
let
inherit (lib.modules) mkIf;
in
{
options.modules.services.games.minecraft = let
inherit (lib.options) mkEnableOption;
in {
enable = mkEnableOption "Minecraft";
};
config = mkIf config.modules.services.auth.enable {
services.minecraft = {
enable = true;
eula = true;
};
};
}