From a7d8d0d04dccd48d6e823861e1ab2792756837a4 Mon Sep 17 00:00:00 2001 From: Peritia Date: Wed, 14 Jan 2026 15:24:25 +0100 Subject: [PATCH] chore: fix formatting --- minecraft/minecraft.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/minecraft/minecraft.nix b/minecraft/minecraft.nix index 1dd58e6..7fb8aa2 100644 --- a/minecraft/minecraft.nix +++ b/minecraft/minecraft.nix @@ -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;