modules/minecraft-server: Fix syntax errors in options specification
This commit is contained in:
@@ -42,7 +42,7 @@ let
|
||||
default = null;
|
||||
description = ''
|
||||
Directory to store Minecraft database and other state/data files.
|
||||
When null defaulting to /var/lib/minecraft-server-${name}
|
||||
When null defaulting to /var/lib/minecraft-server-''${name}
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -50,7 +50,7 @@ let
|
||||
type = types.package;
|
||||
default = pkgs.papermc;
|
||||
defaultText = "pkgs.papermc";
|
||||
example = literalExample "pkgs.minecraft-server_1_12_2";
|
||||
example = literalExpression "pkgs.minecraft-server_1_12_2";
|
||||
description = "Version of minecraft-server to run.";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user