mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Disable minecraft
This commit is contained in:
parent
f6e71ded17
commit
2188449951
1 changed files with 17 additions and 1 deletions
|
|
@ -118,7 +118,7 @@
|
||||||
users.groups.steam = { };
|
users.groups.steam = { };
|
||||||
|
|
||||||
services.minecraft-server = {
|
services.minecraft-server = {
|
||||||
enable = true;
|
enable = false;
|
||||||
package = pkgs-unstable.minecraft-server;
|
package = pkgs-unstable.minecraft-server;
|
||||||
eula = true;
|
eula = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
|
|
@ -136,4 +136,20 @@
|
||||||
};
|
};
|
||||||
dataDir = "/nix/var/data/minecraft";
|
dataDir = "/nix/var/data/minecraft";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# virtualisation.oci-containers.containers = {
|
||||||
|
# "minecraft" = {
|
||||||
|
# image = "itzg/minecraft-server";
|
||||||
|
# environment = {
|
||||||
|
# EULA = "TRUE";
|
||||||
|
# VERSION = "1.18.2";
|
||||||
|
# TYPE = "AUTO_CURSEFORGE";
|
||||||
|
# MEMORY = "4G";
|
||||||
|
# CF_SLUG = "modecube"; # https://www.curseforge.com/minecraft/modpacks/modecube/files
|
||||||
|
# };
|
||||||
|
# ports = [ "25565:25565" ];
|
||||||
|
# volumes = [ "/nix/var/data/minecraft-modded:/data" ];
|
||||||
|
# autoStart = true;
|
||||||
|
# };
|
||||||
|
# };
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue