feat(services/games): now prefix for games is games

- before was minecraft because only minecraft server
This commit is contained in:
Raphael 2025-10-02 11:46:03 +02:00
parent 4d38f03718
commit 51f952aa7b
No known key found for this signature in database
2 changed files with 16 additions and 17 deletions

View file

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