18 lines
313 B
Nix
18 lines
313 B
Nix
|
{config, pkgs, ...}:
|
||
|
|
||
|
with import ./network.nix;
|
||
|
{
|
||
|
services.minecraft = {
|
||
|
enable = true;
|
||
|
eula = true;
|
||
|
serverProperties = {
|
||
|
motd = "Welcome on the RuNas server!";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
networking.extraHosts = ''
|
||
|
${architect-lan} minecraft.giugl.io
|
||
|
${architect-wg} minecraft.giugl.io
|
||
|
'';
|
||
|
}
|