nixos/services/games.nix

32 lines
414 B
Nix

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