feat: revive minecraft server 😋
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -435,14 +435,6 @@
|
||||
localPort = 443;
|
||||
customDomains = [ "memo.imxyy.top" ];
|
||||
}
|
||||
|
||||
{
|
||||
name = "minecraft";
|
||||
type = "tcp";
|
||||
localIP = "127.0.0.1";
|
||||
localPort = 25565;
|
||||
remotePort = 25565;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user