This commit is contained in:
Sakooooo 2025-01-07 18:58:00 +04:00
parent 8f0be52080
commit c505851fb2
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -2,8 +2,8 @@
with lib;
let cfg = config.void.server.game.minecraft;
in {
options.void.server.game.minecraft = { enable = mkEnableOption false; };
imports = [ inputs.nix-minecraft.nixosModules.minecraft-servers ];
options.void.server.game.minecraft = { enable = mkEnableOption false; };
config = mkIf cfg.enable {
imports = [ inputs.nix-minecraft.nixosModules.minecraft-servers ];