add reclamation server
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user