nixos/hosts/architect/minecraft.nix

18 lines
313 B
Nix
Raw Normal View History

2021-08-23 19:00:19 +01:00
{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
'';
}