summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/games/mchprs.nix
diff options
context:
space:
mode:
authorstuebinm <stuebinm@disroot.org>2024-04-13 14:54:15 +0200
committerJonathan Ringer <jonringer@users.noreply.github.com>2024-04-13 10:07:35 -0700
commit6afb255d976f85f3359e4929abd6f5149c323a02 (patch)
treeced23a118ee0852174d31005acd16f04cad3a781 /nixos/modules/services/games/mchprs.nix
parent1dd996e59a5e67694b7a252aacba71a88d51b41e (diff)
nixos: remove all uses of lib.mdDoc
these changes were generated with nixq 0.0.2, by running nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix two mentions of the mdDoc function remain in nixos/, both of which are inside of comments. Since lib.mdDoc is already defined as just id, this commit is a no-op as far as Nix (and the built manual) is concerned.
Diffstat (limited to 'nixos/modules/services/games/mchprs.nix')
-rw-r--r--nixos/modules/services/games/mchprs.nix36
1 files changed, 18 insertions, 18 deletions
diff --git a/nixos/modules/services/games/mchprs.nix b/nixos/modules/services/games/mchprs.nix
index 36f7ea71d635..50db7cf66bb5 100644
--- a/nixos/modules/services/games/mchprs.nix
+++ b/nixos/modules/services/games/mchprs.nix
@@ -27,7 +27,7 @@ in
declarativeSettings = mkOption {
type = types.bool;
default = false;
- description = mdDoc ''
+ description = ''
Whether to use a declarative configuration for MCHPRS.
'';
};
@@ -35,7 +35,7 @@ in
declarativeWhitelist = mkOption {
type = types.bool;
default = false;
- description = mdDoc ''
+ description = ''
Whether to use a declarative whitelist.
The options {option}`services.mchprs.whitelist.list`
will be applied if and only if set to `true`.
@@ -45,7 +45,7 @@ in
dataDir = mkOption {
type = types.path;
default = "/var/lib/mchprs";
- description = mdDoc ''
+ description = ''
Directory to store MCHPRS database and other state/data files.
'';
};
@@ -53,7 +53,7 @@ in
openFirewall = mkOption {
type = types.bool;
default = false;
- description = mdDoc ''
+ description = ''
Whether to open ports in the firewall for the server.
Only has effect when
{option}`services.mchprs.declarativeSettings` is `true`.
@@ -64,7 +64,7 @@ in
type = types.str;
default = "infinity";
example = "7d";
- description = mdDoc ''
+ description = ''
Automatically restart the server after
{option}`services.mchprs.maxRuntime`.
The time span format is described here:
@@ -83,7 +83,7 @@ in
port = mkOption {
type = types.port;
default = 25565;
- description = mdDoc ''
+ description = ''
Port for the server.
Only has effect when
{option}`services.mchprs.declarativeSettings` is `true`.
@@ -93,7 +93,7 @@ in
address = mkOption {
type = types.str;
default = "0.0.0.0";
- description = mdDoc ''
+ description = ''
Address for the server.
Please use enclosing square brackets when using ipv6.
Only has effect when
@@ -104,7 +104,7 @@ in
motd = mkOption {
type = types.str;
default = "Minecraft High Performance Redstone Server";
- description = mdDoc ''
+ description = ''
Message of the day.
Only has effect when
{option}`services.mchprs.declarativeSettings` is `true`.
@@ -114,7 +114,7 @@ in
chat_format = mkOption {
type = types.str;
default = "<{username}> {message}";
- description = mdDoc ''
+ description = ''
How to format chat message interpolating `username`
and `message` with curly braces.
Only has effect when
@@ -125,7 +125,7 @@ in
max_players = mkOption {
type = types.ints.positive;
default = 99999;
- description = mdDoc ''
+ description = ''
Maximum number of simultaneous players.
Only has effect when
{option}`services.mchprs.declarativeSettings` is `true`.
@@ -135,7 +135,7 @@ in
view_distance = mkOption {
type = types.ints.positive;
default = 8;
- description = mdDoc ''
+ description = ''
Maximal distance (in chunks) between players and loaded chunks.
Only has effect when
{option}`services.mchprs.declarativeSettings` is `true`.
@@ -145,7 +145,7 @@ in
bungeecord = mkOption {
type = types.bool;
default = false;
- description = mdDoc ''
+ description = ''
Enable compatibility with
[BungeeCord](https://github.com/SpigotMC/BungeeCord).
Only has effect when
@@ -156,7 +156,7 @@ in
schemati = mkOption {
type = types.bool;
default = false;
- description = mdDoc ''
+ description = ''
Mimic the verification and directory layout used by the
Open Redstone Engineers
[Schemati plugin](https://github.com/OpenRedstoneEngineers/Schemati).
@@ -168,7 +168,7 @@ in
block_in_hitbox = mkOption {
type = types.bool;
default = true;
- description = mdDoc ''
+ description = ''
Allow placing blocks inside of players
(hitbox logic is simplified).
Only has effect when
@@ -179,7 +179,7 @@ in
auto_redpiler = mkOption {
type = types.bool;
default = true;
- description = mdDoc ''
+ description = ''
Use redpiler automatically.
Only has effect when
{option}`services.mchprs.declarativeSettings` is `true`.
@@ -189,7 +189,7 @@ in
};
default = { };
- description = mdDoc ''
+ description = ''
Configuration for MCHPRS via `Config.toml`.
See https://github.com/MCHPR/MCHPRS/blob/master/README.md for documentation.
'';
@@ -199,7 +199,7 @@ in
enable = mkOption {
type = types.bool;
default = false;
- description = mdDoc ''
+ description = ''
Whether or not the whitelist (in `whitelist.json`) shoud be enabled.
Only has effect when {option}`services.mchprs.declarativeSettings` is `true`.
'';
@@ -221,7 +221,7 @@ in
username2 = "yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy";
};
'';
- description = mdDoc ''
+ description = ''
Whitelisted players, only has an effect when
{option}`services.mchprs.declarativeWhitelist` is
`true` and the whitelist is enabled