dotfiles/nixng/containers/minecraft/ftb-integrations/default.nix
magic_rb 3f2887b439
Switch containers to stable
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-07-03 17:39:49 +02:00

31 lines
779 B
Nix

{inputs, ...}: {
flake.nixngConfigurations.minecraft-ftb-integrations = inputs.nixng.nglib.makeSystem {
system = "x86_64-linux";
name = "nixng-minecraft";
nixpkgs = inputs.nixpkgs-stable;
config = {
pkgs,
lib,
...
}: {
disabledModules = ["${inputs.nixng}/modules/services/minecraft.nix"];
imports = [../../../modules/minecraft-forge.nix ../../../modules/minecraft.nix];
dumb-init = {
enable = true;
type.services = {};
};
services.minecraft.forge = {
enable = true;
modpackId = 107;
versionId = 6572;
modpacksChHash = "sha256-LTr8yZ3hmKnO51VFABTx0PR8SCc1MqPEf1xvbZ9OL3A=";
javaPackage = pkgs.jdk11;
eulaAccept = true;
};
};
};
}