what
This commit is contained in:
parent
415f6cb309
commit
189fb053c5
|
@ -12,33 +12,33 @@ in {
|
||||||
builtins.elem (lib.getName pkgs) [ "minecraft-server" ];
|
builtins.elem (lib.getName pkgs) [ "minecraft-server" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
# services = {
|
||||||
minecraft-servers.servers.wires =
|
inputs.nix-minecraft.nixosModules.minecraft-servers.servers.wires =
|
||||||
let modpack = pkgs.fetchPackwizModpack { url = ./sakopack; };
|
let modpack = pkgs.fetchPackwizModpack { url = ./sakopack; };
|
||||||
in {
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
# HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHHAAHAHHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAH
|
# HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHHAAHAHHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAH
|
||||||
eula = true;
|
eula = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
package = pkgs.fabricServers.fabric-1_20_4.override {
|
package = pkgs.fabricServers.fabric-1_20_4.override {
|
||||||
loaderVersion = "0.16.9";
|
loaderVersion = "0.16.9";
|
||||||
};
|
|
||||||
whitelist = { Sakoooo = "6b05caca-3d78-4597-aba5-d0f816f94024"; };
|
|
||||||
serverProperties = {
|
|
||||||
white-list = true;
|
|
||||||
difficulty = "normal";
|
|
||||||
server-port = 25568;
|
|
||||||
gamemode = "survival";
|
|
||||||
};
|
|
||||||
symlinks = { "mods" = "${modpack}/mods"; };
|
|
||||||
# files = {
|
|
||||||
# "config" = "${modpack}/config";
|
|
||||||
# "config/mod1.yml" = "${modpack}/config/mod1.yml";
|
|
||||||
# "config/mod2.conf" = "${modpack}/config/mod2.conf";
|
|
||||||
# # You can add files not on the modpack, of course
|
|
||||||
# "config/server-specific.conf".value = { example = "foo-bar"; };
|
|
||||||
# };
|
|
||||||
};
|
};
|
||||||
};
|
whitelist = { Sakoooo = "6b05caca-3d78-4597-aba5-d0f816f94024"; };
|
||||||
|
serverProperties = {
|
||||||
|
white-list = true;
|
||||||
|
difficulty = "normal";
|
||||||
|
server-port = 25568;
|
||||||
|
gamemode = "survival";
|
||||||
|
};
|
||||||
|
symlinks = { "mods" = "${modpack}/mods"; };
|
||||||
|
# files = {
|
||||||
|
# "config" = "${modpack}/config";
|
||||||
|
# "config/mod1.yml" = "${modpack}/config/mod1.yml";
|
||||||
|
# "config/mod2.conf" = "${modpack}/config/mod2.conf";
|
||||||
|
# # You can add files not on the modpack, of course
|
||||||
|
# "config/server-specific.conf".value = { example = "foo-bar"; };
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue