chore: fix formatting

This commit is contained in:
Peritia 2026-01-14 15:24:25 +01:00
parent d594544229
commit a7d8d0d04d

View file

@ -216,18 +216,18 @@ in {
customJVMOpts = mkOption { customJVMOpts = mkOption {
description = "Additional JVM options"; description = "Additional JVM options";
type = types.coercedTo type =
types.coercedTo
types.str types.str
(lib.splitString " ") (lib.splitString " ")
(types.listOf types.str); (types.listOf types.str);
default = [ ]; default = [];
example = [ example = [
"-Dminecraft.api.env=custom" "-Dminecraft.api.env=custom"
"-Dminecraft.api.auth.host=https://mcauth.example.space/auth" "-Dminecraft.api.auth.host=https://mcauth.example.space/auth"
]; ];
}; };
operators = mkOption { operators = mkOption {
type = types.attrsOf ( type = types.attrsOf (
types.coercedTo minecraftUUID (v: {uuid = v;}) ( types.coercedTo minecraftUUID (v: {uuid = v;}) (
@ -385,7 +385,7 @@ in {
"-Xmx${serverCfg.memory.max}" "-Xmx${serverCfg.memory.max}"
"-Xms${serverCfg.memory.min}" "-Xms${serverCfg.memory.min}"
] ]
++ serverCfg.customJVMOpts ++ serverCfg.customJVMOpts
); );
autoStart = serverCfg.autoStart; autoStart = serverCfg.autoStart;