feat: revive minecraft server 😋

This commit is contained in:
2025-08-16 23:18:45 +08:00
parent c14a3682ff
commit f46ad8a2f3
2 changed files with 11 additions and 20 deletions

View File

@@ -1,6 +1,5 @@
{ lib, pkgs, ... }:
{
/*
systemd.services."fabric1.20.6" = {
description = "fabric 1.20.6 minecraft server";
wantedBy = [ "multi-user.target" ];
@@ -12,7 +11,7 @@
RestartSec = 120;
};
};
*/
my.persist = {
nixosDirs = [
"/opt/minecraft"

View File

@@ -435,14 +435,6 @@
localPort = 443;
customDomains = [ "memo.imxyy.top" ];
}
{
name = "minecraft";
type = "tcp";
localIP = "127.0.0.1";
localPort = 25565;
remotePort = 25565;
}
];
};
};