mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 11:36:16 +01:00
21b894bed1
Signed-off-by: Magic_RB <magic_rb@redalder.org>
31 lines
830 B
Nix
31 lines
830 B
Nix
{ inputs, ... }:
|
|
{
|
|
flake.nixngConfigurations.minecraft-ftb-integrations = inputs.nixng.nglib.makeSystem {
|
|
system = "x86_64-linux";
|
|
name = "nixng-minecraft";
|
|
inherit (inputs) nixpkgs;
|
|
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;
|
|
};
|
|
};
|
|
};
|
|
}
|