Server up
This commit is contained in:
parent
de0e62fd88
commit
97b5ae6a5e
2 changed files with 27 additions and 12 deletions
|
@ -184,6 +184,7 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
|
||||||
"caddy" # write access to /storage/files.lyte.dev
|
"caddy" # write access to /storage/files.lyte.dev
|
||||||
"users" # general users group
|
"users" # general users group
|
||||||
"jellyfin" # write access to /storage/jellyfin
|
"jellyfin" # write access to /storage/jellyfin
|
||||||
|
"jland"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -234,8 +235,11 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
|
||||||
group = "plausible";
|
group = "plausible";
|
||||||
};
|
};
|
||||||
|
|
||||||
users.groups.jland = {};
|
users.groups.jland = {
|
||||||
|
gid = 982;
|
||||||
|
};
|
||||||
users.users.jland = {
|
users.users.jland = {
|
||||||
|
uid = 986;
|
||||||
# used for running the jland minecraft server
|
# used for running the jland minecraft server
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
createHome = false;
|
createHome = false;
|
||||||
|
@ -688,22 +692,33 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
|
||||||
minecraft-jland = {
|
minecraft-jland = {
|
||||||
# sending commands: https://docker-minecraft-server.readthedocs.io/en/latest/commands/
|
# sending commands: https://docker-minecraft-server.readthedocs.io/en/latest/commands/
|
||||||
image = "docker.io/itzg/minecraft-server";
|
image = "docker.io/itzg/minecraft-server";
|
||||||
user = "jland";
|
user = "${toString config.users.users.jland.uid}:${toString config.users.groups.jland.gid}";
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
"--tty"
|
"--tty"
|
||||||
"--interactive"
|
"--interactive"
|
||||||
];
|
];
|
||||||
environment = {
|
environment = {
|
||||||
EULA = "true";
|
EULA = "true";
|
||||||
# UID = toString config.users.users.jland.uid;
|
UID = toString config.users.users.jland.uid;
|
||||||
# GID = toString config.users.groups.jland.gid;
|
GID = toString config.users.groups.jland.gid;
|
||||||
STOP_SERVER_ANNOUNCE_DELAY = "20";
|
STOP_SERVER_ANNOUNCE_DELAY = "20";
|
||||||
TZ = "America/Chicago";
|
TZ = "America/Chicago";
|
||||||
TYPE = "AUTO_CURSEFORGE";
|
|
||||||
VERSION = "1.19.2";
|
VERSION = "1.19.2";
|
||||||
MAX_MEMORY = "8G";
|
MEMORY = "8G";
|
||||||
CF_SLUG = "all-the-mods-8"; # monumental-experience
|
MAX_MEMORY = "16G";
|
||||||
CF_FILE_ID = "4826863"; # 2.2.53
|
TYPE = "FORGE";
|
||||||
|
FORGE_VERSION = "43.3.2";
|
||||||
|
|
||||||
|
MODPACK = "/data/origination-files/Monumental+Experience-2.2.53.zip";
|
||||||
|
|
||||||
|
# TYPE = "AUTO_CURSEFORGE";
|
||||||
|
# CF_SLUG = "monumental-experience";
|
||||||
|
# CF_FILE_ID = "4826863"; # 2.2.53
|
||||||
|
|
||||||
|
# due to
|
||||||
|
# Nov 02 13:45:22 beefcake minecraft-jland[2738672]: me.itzg.helpers.errors.GenericException: The modpack authors have indicated this file is not allowed for project distribution. Please download the client zip file from https://www.curseforge.com/minecraft/modpacks/monumental-experience and pass via CF_MODPACK_ZIP environment variable or place indownloads repo directory.
|
||||||
|
# we must upload manually
|
||||||
|
# CF_MODPACK_ZIP = "/data/origination-files/Monumental+Experience-2.2.53.zip";
|
||||||
|
|
||||||
# ENABLE_AUTOPAUSE = "true"; # TODO: must increate or disable max-tick-time
|
# ENABLE_AUTOPAUSE = "true"; # TODO: must increate or disable max-tick-time
|
||||||
# May also have mod/loader incompatibilities?
|
# May also have mod/loader incompatibilities?
|
||||||
|
@ -712,7 +727,7 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
|
||||||
environmentFiles = [
|
environmentFiles = [
|
||||||
config.sops.secrets."jland.env".path
|
config.sops.secrets."jland.env".path
|
||||||
];
|
];
|
||||||
ports = ["127.0.0.1:25565:25565"];
|
ports = ["25565:25565"];
|
||||||
volumes = [
|
volumes = [
|
||||||
"/storage/jland/data:/data"
|
"/storage/jland/data:/data"
|
||||||
"/storage/jland/worlds:/worlds"
|
"/storage/jland/worlds:/worlds"
|
||||||
|
|
|
@ -12,7 +12,7 @@ plausible-admin-password: ENC[AES256_GCM,data:dC9olypZgMLdPOsmjthOaa/fMLtbGBlF9A
|
||||||
plausible-erlang-cookie: ENC[AES256_GCM,data:zhmC+D6EjIE8Rw91lIrMqY0QIazTX1e1jBzcZJP/76B9VvHWZ5bCkP1+KdfCY0lk3wIEq5vRfb8=,iv:RNNjlV3OFtXn1N0a5fEb/3FWzcHX19wtCLMdaVlKNJ0=,tag:8iU5oFVbzd0eMe5Mo1PiAw==,type:str]
|
plausible-erlang-cookie: ENC[AES256_GCM,data:zhmC+D6EjIE8Rw91lIrMqY0QIazTX1e1jBzcZJP/76B9VvHWZ5bCkP1+KdfCY0lk3wIEq5vRfb8=,iv:RNNjlV3OFtXn1N0a5fEb/3FWzcHX19wtCLMdaVlKNJ0=,tag:8iU5oFVbzd0eMe5Mo1PiAw==,type:str]
|
||||||
plausible-secret-key-base: ENC[AES256_GCM,data:ylakPGzY4S9640krl0fxYgm0Getf0+I7zthyTqTD/IpVhz5xgYBYx3Y2lSNa9Oi9yQ7+f9OdOBC6nc7n6MuUBg==,iv:YLPax/cRjMdIFti26gJd8COKr+3jXNZ7HCA5VvQVyAo=,tag:LHqYi590oEIp1IihLcFTtw==,type:str]
|
plausible-secret-key-base: ENC[AES256_GCM,data:ylakPGzY4S9640krl0fxYgm0Getf0+I7zthyTqTD/IpVhz5xgYBYx3Y2lSNa9Oi9yQ7+f9OdOBC6nc7n6MuUBg==,iv:YLPax/cRjMdIFti26gJd8COKr+3jXNZ7HCA5VvQVyAo=,tag:LHqYi590oEIp1IihLcFTtw==,type:str]
|
||||||
nextcloud-admin-password: ENC[AES256_GCM,data:QaoSZyommeGED3nWNru92UVO2tjk24HE9fWX7ExYT101o4ZL411TmV1TXHSyfwjmE7yLIm1K/j4xpEbIY3zvFg==,iv:xC5EZVPHumVPOob5jiiXMFAmdFQcFSUPtZgioAgGDDs=,tag:Q/kY38XWkGsqcmCkd2lodg==,type:str]
|
nextcloud-admin-password: ENC[AES256_GCM,data:QaoSZyommeGED3nWNru92UVO2tjk24HE9fWX7ExYT101o4ZL411TmV1TXHSyfwjmE7yLIm1K/j4xpEbIY3zvFg==,iv:xC5EZVPHumVPOob5jiiXMFAmdFQcFSUPtZgioAgGDDs=,tag:Q/kY38XWkGsqcmCkd2lodg==,type:str]
|
||||||
jland.env: ENC[AES256_GCM,data:4gZX4M5SASJNp/EIrUBP2vNyEOogA9N7X3Th7UuOP9M7zuMG/K83a9epoLCXIoWbGZuRtSIXB8+nfAj1Cd0rxBGnoB+cH7Qdq4h+EbH8MzkUm90fUtNyMepa+026qPSzJaHpNAmvLqsoRA3/jhNYLUcxYJ0=,iv:1FqO7GDwr4d0gKFPstdnEAnq9KyFkbHQs6CrA2FhDYI=,tag:SrkrAtm9No0f93Ob81hVqw==,type:str]
|
jland.env: ENC[AES256_GCM,data:u+QKwKWG9NFduuofhe3aatof3KoC0N4ZpNOD8E/7l0BTSoTe5Tqmz5/33EOcBUw99+YLFR4kTJwdUmLWHk4UD87aGsJ4liPCtXnBsToAzBGg0I3mhGQ/QM8iKXMW9oKb3ciapitQBuJa1WIp5/bHNtCXWQ==,iv:iZDET5EWM4DnAoQqLP9+Ll4S+mFHt2wZ3ENtN79Dbqw=,tag:qVpocN3FxlHfte2hAmtGPA==,type:str]
|
||||||
api.lyte.dev: ENC[AES256_GCM,data:14C5GQ41m/g7qHPzxlYoWjKWDOcm7MEDkuSofiuLfRNc/nji61t1eDbKX3d+SQL1UBchJFoBrWrUxnf0mUERhED1196z8vUq2jKEkcqKCAUS3soECInlb8zcxTcxaTFjYSjp1vUBdAn05AqLsF+hh9Bsm4fMQYjnHEZke9EmPZhuTlUdZa4eLv3+L3xAPHk2QIHQhdsjcTjGAZRMZOgTEcCvtGlb5pQuo11XmR2JzwzOXMC51WFDeOIWMAdO80yQBAdILso7rp1Nts/lwF0Bc9t7bNdHyoVTOA==,iv:jWGqUpXOTb/O972qXOqeX0EMFQLDKwaNHBqlpuGrZOk=,tag:uwB/jlAgESkLZ+vJ/OeV0A==,type:str]
|
api.lyte.dev: ENC[AES256_GCM,data:14C5GQ41m/g7qHPzxlYoWjKWDOcm7MEDkuSofiuLfRNc/nji61t1eDbKX3d+SQL1UBchJFoBrWrUxnf0mUERhED1196z8vUq2jKEkcqKCAUS3soECInlb8zcxTcxaTFjYSjp1vUBdAn05AqLsF+hh9Bsm4fMQYjnHEZke9EmPZhuTlUdZa4eLv3+L3xAPHk2QIHQhdsjcTjGAZRMZOgTEcCvtGlb5pQuo11XmR2JzwzOXMC51WFDeOIWMAdO80yQBAdILso7rp1Nts/lwF0Bc9t7bNdHyoVTOA==,iv:jWGqUpXOTb/O972qXOqeX0EMFQLDKwaNHBqlpuGrZOk=,tag:uwB/jlAgESkLZ+vJ/OeV0A==,type:str]
|
||||||
sops:
|
sops:
|
||||||
kms: []
|
kms: []
|
||||||
|
@ -38,8 +38,8 @@ sops:
|
||||||
b0lTRjVCMU9ELzdvbFBJZ0tHbGtsYkEKLEcXCEikC3T3hfVOYKtWcNSGmfg28y+f
|
b0lTRjVCMU9ELzdvbFBJZ0tHbGtsYkEKLEcXCEikC3T3hfVOYKtWcNSGmfg28y+f
|
||||||
nGC4dQh9EciEbk1ZBbN3i6YSNULDoMSH172KBmRyt1ogr1ZPyCNqtg==
|
nGC4dQh9EciEbk1ZBbN3i6YSNULDoMSH172KBmRyt1ogr1ZPyCNqtg==
|
||||||
-----END AGE ENCRYPTED FILE-----
|
-----END AGE ENCRYPTED FILE-----
|
||||||
lastmodified: "2023-11-02T18:06:19Z"
|
lastmodified: "2023-11-02T19:02:54Z"
|
||||||
mac: ENC[AES256_GCM,data:ewguEKlMJYJI41Ng80dFMNPKn8Lluu81LeSffK1ZUXmH21DJq0vVT/yHG9NAKb2WwWUzVEUMy8k3FLvtsrnxTUpnnFx1bl3PVvySnFiKowJV9TTqEFsJU3FriwuAAdDlfPV88O2vffn/ZGB4hjp7Xfo0E3AhQnMLXuWx9fY3xCw=,iv:UiGYOOIImoSf9eQw92TeI+ofhrvu9w1QMlGeh5g5Cpw=,tag:uC/f20UrH5W1NHt3YzBl2g==,type:str]
|
mac: ENC[AES256_GCM,data:NcJuWZUho49dKGoDgIUkbuTVv34xLsl/JLYxLVkr1CndckPqsKpcYgjbgvmkB1zfy9x3KLbpLKpJ7DtsmjgY1UhL44TDLQg3CoItmWlna+kQgcgyrmmGE/8S/er+zWruPdnY8233ikLRzVBrcwwXm6V5sYMJO4S33LFW/G28HQ8=,iv:kudZwEq8rroOxRiH+Qhao/rhJI49HrMgdElkgSPmjXE=,tag:my5PQ4OZO7KnqtPAWZ3vMQ==,type:str]
|
||||||
pgp: []
|
pgp: []
|
||||||
unencrypted_suffix: _unencrypted
|
unencrypted_suffix: _unencrypted
|
||||||
version: 3.8.1
|
version: 3.8.1
|
||||||
|
|
Loading…
Reference in a new issue