Update nix flake

This commit is contained in:
thiloho
2025-11-16 15:21:50 +01:00
parent 269aa59fdb
commit b765f808b8
2 changed files with 25 additions and 9 deletions

View File

@@ -119,6 +119,22 @@
}
];
};
minecraft-server = {
enable = true;
eula = true;
openFirewall = true;
declarative = true;
whitelist = {
"3xt1nct" = "4e4d744d-7748-46bc-add8-b3e8ca3b4cf5";
};
serverProperties = {
difficulty = "hard";
max-players = 5;
motd = "Thilo's SMP Server";
white-list = true;
};
jvmOpts = "-Xms1024M -Xmx2048M";
};
};
systemd.tmpfiles.rules = [