mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-14 02:42:04 +01:00
29 lines
784 B
Nix
29 lines
784 B
Nix
|
{ inputs, ... }:
|
||
|
{
|
||
|
flake.nixngConfigurations.minecraft-ftb-infinity = 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 = 23;
|
||
|
versionId = 99;
|
||
|
modpacksChHash = "sha256-wlOcy+Ju81WxJ/z14rslMy3WH+wQdcIZylT7Z3qqJpQ=";
|
||
|
|
||
|
eulaAccept = true;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|