feat: adding the minecraft server configuration

This commit is contained in:
Raphael 2025-02-24 19:45:52 +01:00
parent f4628c0b47
commit f19eca3df6
7 changed files with 116 additions and 3 deletions

21
services/games.nix Normal file
View file

@ -0,0 +1,21 @@
{ inputs, config, pkgs, lib, ... }:
let
enium-pv = import ./games/minecraft.nix {
inherit inputs config pkgs lib;
};
cfg = config.service.minecraft;
in
{
imports = [
enium-pv
];
options.service.minecraft = {
enium-pv = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Enable enium private minecraft server";
};
};
}