mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
feat: added another minecraft world
This commit is contained in:
parent
5b00235743
commit
710bc42aef
6 changed files with 44 additions and 34 deletions
|
|
@ -25,7 +25,7 @@ in
|
|||
openFirewall = true;
|
||||
declarative = true;
|
||||
serverProperties = {
|
||||
"rcon.password" = "/etc/${serviceCfg.name}-secrets/${world}";
|
||||
"rcon.password" = "/run/secrets/${world}";
|
||||
allow-flight = false;
|
||||
allow-nether = true;
|
||||
difficulty = 2;
|
||||
|
|
@ -179,4 +179,11 @@ in
|
|||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ serviceCfg.ports.port0 ];
|
||||
|
||||
systemd = {
|
||||
tmpfiles.rules = [
|
||||
"d ${serviceCfg.mntPaths.path0} 0751 microvm wheel - -"
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue