add reclamation server
Some checks failed
/ perform flake analysis (push) Successful in 52s
/ build hive configuration (push) Failing after 1m52s

This commit is contained in:
2026-01-02 15:02:35 +01:00
parent d068ea8c2d
commit 29b632a961
3 changed files with 183 additions and 63 deletions

View File

@@ -1,9 +1,18 @@
{pkgs, inputs, ...}:
{
pkgs,
inputs,
lib,
...
}:
let
modpack = pkgs.fetchPackwizModpack {
url = "file:///${inputs.testing-grounds.modpack}/pack.toml";
url = "file:///${inputs.testing-grounds.modpack}/pack.toml";
packHash = "sha256-+taYj4uroLNxM4Nia3n+5P1Y/g6dzE6Iq13TsZgk4mU=";
};
reclamation = pkgs.fetchPackwizModpack {
url = "file:///${inputs.reclamation.reclamation}/pack.toml";
packHash = lib.fakeHash;
};
in
{
imports = [ inputs.nix-minecraft.nixosModules.minecraft-servers ];
@@ -14,6 +23,21 @@ in
eula = true;
openFirewall = true;
servers.reclamation = {
enable = true;
package = pkgs.fabricServers.fabric;
symlinks = {
"mods" = "${reclamation}/mods";
};
serverProperties = {
server-port = 43001;
motd = "all hail the gorgon";
allow-flight = true;
};
};
servers.testing-grounds = {
enable = true;