diff --git a/modules/server/game/minecraft/default.nix b/modules/server/game/minecraft/default.nix index 9493bdd0..2851560a 100644 --- a/modules/server/game/minecraft/default.nix +++ b/modules/server/game/minecraft/default.nix @@ -2,10 +2,10 @@ with lib; let cfg = config.void.server.game.minecraft; in { + 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 ]; nixpkgs = { overlays = [ inputs.nix-minecraft.overlay ]; config.allowUnfreePredicate = pkg: