Update default.nix

This commit is contained in:
Thilo Hohlt
2023-07-24 09:45:29 +02:00
committed by GitHub
parent ee5eb1984d
commit a713283cd0

View File

@@ -6,17 +6,19 @@
../shared.nix ../shared.nix
]; ];
networking = { services.minecraft-server = {
hostName = "server"; enable = true;
interfaces = { eula = true;
enp41s0.ipv6.addresses = [{ declarative = true;
address = "2a01:4f8:a0:8246::1"; openFirewall = true;
prefixLength = 64; whitelist = {
}]; thilo_ho = "4e4d744d-7748-46bc-add8-b3e8ca3b4cf5";
}; };
defaultGateway6 = { serverProperties = {
address = "fe80::1"; difficulty = 3;
interface = "enp41s0"; max-players = 10;
motd = "Minecraft server of Thilo.";
white-list = true;
}; };
}; };