feat(devenv): add statix
This commit is contained in:
parent
1f86d66063
commit
aa8c49c5bd
6 changed files with 24 additions and 17 deletions
|
@ -9,7 +9,7 @@
|
|||
|
||||
mkMinecraftServer = name: {
|
||||
port,
|
||||
frpPort,
|
||||
remotePort,
|
||||
dataDir ? "/var/lib/${name}",
|
||||
memory ? "4G",
|
||||
env ? {},
|
||||
|
@ -32,11 +32,10 @@
|
|||
|
||||
services.frp.settings.proxies = [
|
||||
{
|
||||
name = name;
|
||||
inherit name remotePort;
|
||||
type = "tcp";
|
||||
localIp = "127.0.0.1";
|
||||
localPort = port;
|
||||
remotePort = frpPort;
|
||||
}
|
||||
];
|
||||
|
||||
|
@ -95,7 +94,7 @@ in
|
|||
(mkMinecraftServers {
|
||||
ragnamod7 = {
|
||||
port = 25566;
|
||||
frpPort = 6001;
|
||||
remotePort = 6001;
|
||||
memory = "8G";
|
||||
env = {
|
||||
USE_AIKAR_FLAGS = "true";
|
||||
|
@ -109,7 +108,7 @@ in
|
|||
|
||||
lynn = {
|
||||
port = 25567;
|
||||
frpPort = 6002;
|
||||
remotePort = 6002;
|
||||
memory = "4G";
|
||||
env = {
|
||||
USE_AIKAR_FLAGS = "true";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue