chore: fix formatting
This commit is contained in:
parent
d594544229
commit
a7d8d0d04d
1 changed files with 4 additions and 4 deletions
|
|
@ -216,18 +216,18 @@ in {
|
|||
|
||||
customJVMOpts = mkOption {
|
||||
description = "Additional JVM options";
|
||||
type = types.coercedTo
|
||||
type =
|
||||
types.coercedTo
|
||||
types.str
|
||||
(lib.splitString " ")
|
||||
(types.listOf types.str);
|
||||
default = [ ];
|
||||
default = [];
|
||||
example = [
|
||||
"-Dminecraft.api.env=custom"
|
||||
"-Dminecraft.api.auth.host=https://mcauth.example.space/auth"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
operators = mkOption {
|
||||
type = types.attrsOf (
|
||||
types.coercedTo minecraftUUID (v: {uuid = v;}) (
|
||||
|
|
@ -385,7 +385,7 @@ in {
|
|||
"-Xmx${serverCfg.memory.max}"
|
||||
"-Xms${serverCfg.memory.min}"
|
||||
]
|
||||
++ serverCfg.customJVMOpts
|
||||
++ serverCfg.customJVMOpts
|
||||
);
|
||||
|
||||
autoStart = serverCfg.autoStart;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue