mirror of
https://forge.katzen.cafe/katzen-cafe/katzen-cafe.git
synced 2024-11-29 08:38:45 +01:00
39 lines
1.5 KiB
Nix
39 lines
1.5 KiB
Nix
{ pkgs, inputs, ... }:
|
|
{
|
|
imports = [ inputs.mms.module ];
|
|
|
|
environment.systemPackages = with pkgs; [ temurin-jre-bin ];
|
|
|
|
services.modded-minecraft-servers = {
|
|
eula = true;
|
|
|
|
# The name will be used for the state folder and system user.
|
|
# In this case, the folder is `/var/lib/mc-e2es`
|
|
# and the user `mc-e2es`.
|
|
instances = {
|
|
"catpile-v1" = {
|
|
enable = true;
|
|
|
|
jvmPackage = pkgs.temurin-jre-bin;
|
|
|
|
# Keys that can access the state of this instance (read/write!) over an rsync module
|
|
# Leave empty to disable
|
|
rsyncSSHKeys = [
|
|
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDu9lhNUjovmaeUczUv18GVoSp8Xo8Izi+HSxC7Go3YOTkaijMB4fCWIIQ/MZkKd7BG0OLPwbNSFrP7XrLxyXbMfNNoOBHTtQv85HwRP7XcvsYomHrdtcU3Nf49/MSXA4z42FqzUF114+D0czJz+Nxer+MbEHqAKZRjNuHOizKv8Rqq2hkwTL/Oi3fQxNaj/rHKth0/8BqcUixxofY/e48E+3SAEUJhb/h4m8nyvecKtyfAdxvPg3ZVi+vWZTeY8aoMRliw6kho59tBzumiXsRve0FyFbGx/t/T3zR2dxBZ63LSePhiTO3XdE3spSq/gzsZRNkxxoSWHiW6xrXQAgoyBGPp0ISw3ljtDgTgaJ5JS9JYRKpkfHDlsBKuLpeoD4i6Ts2Z+0dyFnVyBs64bwY7PyqRtS9l/EM/f2VxfsndWMoCuGFCZSS2WbONirqp6e7czxCQ2iqShYKzfupbTf8eYV1i4+VTJE1Qs0oFbmcwZDJbHqaUZn2aeS7fW9pYrA0= jade@monosodium-glutamate-g"
|
|
];
|
|
|
|
serverConfig = {
|
|
# Port must be unique
|
|
server-port = 25566;
|
|
motd = "Be excellent to eachother";
|
|
|
|
white-list = true;
|
|
spawn-protection = 0;
|
|
max-tick-time = 5 * 60 * 1000;
|
|
allow-flight = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|