sha issues abound
This commit is contained in:
parent
ae515edf8b
commit
9a48c3c7f7
5 changed files with 118 additions and 24 deletions
|
|
@ -1,5 +1,11 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
modpack = pkgs.fetchPackwizModpack {
|
||||
url = "https://git.malice.zone/alisceon/tfcpack/-/raw/main/pack.toml";
|
||||
packHash = "sha256-0f3ql6825fa7qx5lacjzhanfs87r4i4591x7y2lazc3vic8hp2i6";
|
||||
};
|
||||
in
|
||||
{
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
imports =
|
||||
|
|
@ -34,6 +40,23 @@
|
|||
"default-runtime" = "crun";
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.overlays = [ inputs.nix-minecraft.overlay ];
|
||||
services.minecraft-servers = {
|
||||
enable = true;
|
||||
eula = true;
|
||||
openFirewall = true;
|
||||
servers.fabric = {
|
||||
enable = true;
|
||||
package = pkgs.neoforgeServers.neoforge-1_21_1.override {
|
||||
loaderVersion = "21.1.219";
|
||||
};
|
||||
symlinks = {
|
||||
"mods" = "${modpack}/mods";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
users.users.gitlab-runner = {
|
||||
isNormalUser = true;
|
||||
home = "/var/lib/gitlab-runner";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue