This commit is contained in:
Sakooooo 2025-01-07 19:29:10 +04:00
parent 05ff9e828f
commit 6f0a7cb3d2
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -8,32 +8,35 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
# services = { # services = {
services.minecraft-servers.servers.wires = services.minecraft-servers = {
let modpack = pkgs.fetchPackwizModpack { url = ./sakopack; }; enable = true;
in { eula = true;
enable = true; servers.wires =
# HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHHAAHAHHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAH let modpack = pkgs.fetchPackwizModpack { url = ./sakopack; };
eula = true; in {
openFirewall = true; enable = true;
package = pkgs.fabricServers.fabric-1_20_4.override { # HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHHAAHAHHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAH
loaderVersion = "0.16.9"; openFirewall = true;
package = pkgs.fabricServers.fabric-1_20_4.override {
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"; };
# };
# };
};
}; };
} }