forked from wurzel/fruitbasket
minecraft-server: init
This commit is contained in:
parent
21a1000dad
commit
85f8932908
2 changed files with 14 additions and 0 deletions
13
modules/minecraft/default.nix
Normal file
13
modules/minecraft/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.minecraft-server = {
|
||||
enable = true;
|
||||
eula = true;
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
extraInputRules = ''
|
||||
ip saddr { 141.30.0.0/16, 141.76.0.0/16} tcp dport 25565 accept comment "Allow ldaps access from office nets and podman"
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue