diff options
author | stuebinm <stuebinm@disroot.org> | 2024-04-13 14:54:15 +0200 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2024-04-13 10:07:35 -0700 |
commit | 6afb255d976f85f3359e4929abd6f5149c323a02 (patch) | |
tree | ced23a118ee0852174d31005acd16f04cad3a781 /nixos/modules/services/games | |
parent | 1dd996e59a5e67694b7a252aacba71a88d51b41e (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')
-rw-r--r-- | nixos/modules/services/games/archisteamfarm.nix | 24 | ||||
-rw-r--r-- | nixos/modules/services/games/armagetronad.nix | 16 | ||||
-rw-r--r-- | nixos/modules/services/games/crossfire-server.nix | 10 | ||||
-rw-r--r-- | nixos/modules/services/games/deliantra-server.nix | 10 | ||||
-rw-r--r-- | nixos/modules/services/games/factorio.nix | 48 | ||||
-rw-r--r-- | nixos/modules/services/games/freeciv.nix | 28 | ||||
-rw-r--r-- | nixos/modules/services/games/mchprs.nix | 36 | ||||
-rw-r--r-- | nixos/modules/services/games/minecraft-server.nix | 16 | ||||
-rw-r--r-- | nixos/modules/services/games/minetest-server.nix | 16 | ||||
-rw-r--r-- | nixos/modules/services/games/openarena.nix | 6 | ||||
-rw-r--r-- | nixos/modules/services/games/quake3-server.nix | 10 | ||||
-rw-r--r-- | nixos/modules/services/games/teeworlds.nix | 66 | ||||
-rw-r--r-- | nixos/modules/services/games/terraria.nix | 24 | ||||
-rw-r--r-- | nixos/modules/services/games/xonotic.nix | 26 |
14 files changed, 168 insertions, 168 deletions
diff --git a/nixos/modules/services/games/archisteamfarm.nix b/nixos/modules/services/games/archisteamfarm.nix index be3f72829239..33898f8387e9 100644 --- a/nixos/modules/services/games/archisteamfarm.nix +++ b/nixos/modules/services/games/archisteamfarm.nix @@ -31,7 +31,7 @@ in options.services.archisteamfarm = { enable = lib.mkOption { type = lib.types.bool; - description = lib.mdDoc '' + description = '' If enabled, starts the ArchisSteamFarm service. For configuring the SteamGuard token you will need to use the web-ui, which is enabled by default over on 127.0.0.1:1242. You cannot configure ASF in any way outside of nix, since all the config files get wiped on restart and replaced with the programnatically set ones by nix. @@ -43,7 +43,7 @@ in type = lib.types.submodule { options = { enable = lib.mkEnableOption "" // { - description = lib.mdDoc "Whether to start the web-ui. This is the preferred way of configuring things such as the steam guard token."; + description = "Whether to start the web-ui. This is the preferred way of configuring things such as the steam guard token."; }; package = lib.mkPackageOption pkgs [ "ArchiSteamFarm" "ui" ] { @@ -61,7 +61,7 @@ in example = { enable = false; }; - description = lib.mdDoc "The Web-UI hosted on 127.0.0.1:1242."; + description = "The Web-UI hosted on 127.0.0.1:1242."; }; package = lib.mkPackageOption pkgs "ArchiSteamFarm" { @@ -76,14 +76,14 @@ in dataDir = lib.mkOption { type = lib.types.path; default = "/var/lib/archisteamfarm"; - description = lib.mdDoc '' + description = '' The ASF home directory used to store all data. If left as the default value this directory will automatically be created before the ASF server starts, otherwise the sysadmin is responsible for ensuring the directory exists with appropriate ownership and permissions.''; }; settings = lib.mkOption { type = format.type; - description = lib.mdDoc '' + description = '' The ASF.json file, all the options are documented [here](https://github.com/JustArchiNET/ArchiSteamFarm/wiki/Configuration#global-config). Do note that `AutoRestart` and `UpdateChannel` is always to `false` respectively `0` because NixOS takes care of updating everything. `Headless` is also always set to `true` because there is no way to provide inputs via a systemd service. @@ -98,12 +98,12 @@ in ipcPasswordFile = lib.mkOption { type = with lib.types; nullOr path; default = null; - description = lib.mdDoc "Path to a file containing the password. The file must be readable by the `archisteamfarm` user/group."; + description = "Path to a file containing the password. The file must be readable by the `archisteamfarm` user/group."; }; ipcSettings = lib.mkOption { type = format.type; - description = lib.mdDoc '' + description = '' Settings to write to IPC.config. All options can be found [here](https://github.com/JustArchiNET/ArchiSteamFarm/wiki/IPC#custom-configuration). ''; @@ -124,13 +124,13 @@ in options = { username = lib.mkOption { type = lib.types.str; - description = lib.mdDoc "Name of the user to log in. Default is attribute name."; + description = "Name of the user to log in. Default is attribute name."; default = ""; }; passwordFile = lib.mkOption { type = with lib.types; nullOr path; default = null; - description = lib.mdDoc '' + description = '' Path to a file containing the password. The file must be readable by the `archisteamfarm` user/group. Omit or set to null to provide the password a different way, such as through the web-ui. ''; @@ -138,18 +138,18 @@ in enabled = lib.mkOption { type = lib.types.bool; default = true; - description = lib.mdDoc "Whether to enable the bot on startup."; + description = "Whether to enable the bot on startup."; }; settings = lib.mkOption { type = lib.types.attrs; - description = lib.mdDoc '' + description = '' Additional settings that are documented [here](https://github.com/JustArchiNET/ArchiSteamFarm/wiki/Configuration#bot-config). ''; default = { }; }; }; }); - description = lib.mdDoc '' + description = '' Bots name and configuration. ''; example = { diff --git a/nixos/modules/services/games/armagetronad.nix b/nixos/modules/services/games/armagetronad.nix index f79818e0e53b..71c8528a9f6e 100644 --- a/nixos/modules/services/games/armagetronad.nix +++ b/nixos/modules/services/games/armagetronad.nix @@ -30,11 +30,11 @@ in options = { services.armagetronad = { servers = mkOption { - description = lib.mdDoc "Armagetron server definitions."; + description = "Armagetron server definitions."; default = { }; type = types.attrsOf (types.submodule { options = { - enable = mkEnableOption (lib.mdDoc "armagetronad"); + enable = mkEnableOption "armagetronad"; package = lib.mkPackageOptionMD pkgs "armagetronad-dedicated" { example = '' @@ -48,25 +48,25 @@ in host = mkOption { type = types.str; default = "0.0.0.0"; - description = lib.mdDoc "Host to listen on. Used for SERVER_IP."; + description = "Host to listen on. Used for SERVER_IP."; }; port = mkOption { type = types.port; default = 4534; - description = lib.mdDoc "Port to listen on. Used for SERVER_PORT."; + description = "Port to listen on. Used for SERVER_PORT."; }; dns = mkOption { type = types.nullOr types.str; default = null; - description = lib.mdDoc "DNS address to use for this server. Optional."; + description = "DNS address to use for this server. Optional."; }; openFirewall = mkOption { type = types.bool; default = true; - description = lib.mdDoc "Set to true to open the configured UDP port for Armagetron Advanced."; + description = "Set to true to open the configured UDP port for Armagetron Advanced."; }; name = mkOption { @@ -77,7 +77,7 @@ in settings = mkOption { type = settingsFormat.type; default = { }; - description = lib.mdDoc '' + description = '' Armagetron Advanced server rules configuration. Refer to: <https://wiki.armagetronad.org/index.php?title=Console_Commands> or `armagetronad-dedicated --doc` for a list. @@ -95,7 +95,7 @@ in roundSettings = mkOption { type = settingsFormat.type; default = { }; - description = lib.mdDoc '' + description = '' Armagetron Advanced server per-round configuration. Refer to: <https://wiki.armagetronad.org/index.php?title=Console_Commands> or `armagetronad-dedicated --doc` for a list. diff --git a/nixos/modules/services/games/crossfire-server.nix b/nixos/modules/services/games/crossfire-server.nix index b19a86253cb4..314b4bad9a29 100644 --- a/nixos/modules/services/games/crossfire-server.nix +++ b/nixos/modules/services/games/crossfire-server.nix @@ -10,7 +10,7 @@ in { enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' If enabled, the Crossfire game server will be started at boot. ''; }; @@ -27,7 +27,7 @@ in { type = types.str; default = "${cfg.package}/share/crossfire"; defaultText = literalExpression ''"''${config.services.crossfire.package}/share/crossfire"''; - description = lib.mdDoc '' + description = '' Where to load readonly data from -- maps, archetypes, treasure tables, and the like. If you plan to edit the data on the live server (rather than overlaying the crossfire-maps and crossfire-arch packages and @@ -39,7 +39,7 @@ in { stateDir = mkOption { type = types.str; default = "/var/lib/crossfire"; - description = lib.mdDoc '' + description = '' Where to store runtime data (save files, persistent items, etc). If left at the default, this will be automatically created on server @@ -52,14 +52,14 @@ in { openFirewall = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to open ports in the firewall for the server. ''; }; configFiles = mkOption { type = types.attrsOf types.str; - description = lib.mdDoc '' + description = '' Text to append to the corresponding configuration files. Note that the files given in the example are *not* the complete set of files available to customize; look in /etc/crossfire after enabling the server to see diff --git a/nixos/modules/services/games/deliantra-server.nix b/nixos/modules/services/games/deliantra-server.nix index b405f338fe3d..401a453ba932 100644 --- a/nixos/modules/services/games/deliantra-server.nix +++ b/nixos/modules/services/games/deliantra-server.nix @@ -10,7 +10,7 @@ in { enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' If enabled, the Deliantra game server will be started at boot. ''; }; @@ -27,7 +27,7 @@ in { type = types.str; default = "${pkgs.deliantra-data}"; defaultText = literalExpression ''"''${pkgs.deliantra-data}"''; - description = lib.mdDoc '' + description = '' Where to store readonly data (maps, archetypes, sprites, etc). Note that if you plan to use the live map editor (rather than editing the maps offline and then nixos-rebuilding), THIS MUST BE WRITEABLE -- @@ -39,7 +39,7 @@ in { stateDir = mkOption { type = types.str; default = "/var/lib/deliantra"; - description = lib.mdDoc '' + description = '' Where to store runtime data (save files, persistent items, etc). If left at the default, this will be automatically created on server @@ -52,14 +52,14 @@ in { openFirewall = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to open ports in the firewall for the server. ''; }; configFiles = mkOption { type = types.attrsOf types.str; - description = lib.mdDoc '' + description = '' Contents of the server configuration files. These will be appended to the example configurations the server comes with and overwrite any default settings defined therein. diff --git a/nixos/modules/services/games/factorio.nix b/nixos/modules/services/games/factorio.nix index 14bb80c2d112..3dce60163a0e 100644 --- a/nixos/modules/services/games/factorio.nix +++ b/nixos/modules/services/games/factorio.nix @@ -45,11 +45,11 @@ in { options = { services.factorio = { - enable = mkEnableOption (lib.mdDoc name); + enable = mkEnableOption name; port = mkOption { type = types.port; default = 34197; - description = lib.mdDoc '' + description = '' The port to which the service should bind. ''; }; @@ -57,7 +57,7 @@ in bind = mkOption { type = types.str; default = "0.0.0.0"; - description = lib.mdDoc '' + description = '' The address to which the service should bind. ''; }; @@ -66,7 +66,7 @@ in type = types.listOf types.str; default = []; example = [ "username" ]; - description = lib.mdDoc '' + description = '' List of player names which will be admin. ''; }; @@ -74,14 +74,14 @@ in openFirewall = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to automatically open the specified UDP port in the firewall. ''; }; saveName = mkOption { type = types.str; default = "default"; - description = lib.mdDoc '' + description = '' The name of the savegame that will be used by the server. When not present in /var/lib/''${config.services.factorio.stateDirName}/saves, @@ -91,7 +91,7 @@ in loadLatestSave = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Load the latest savegame on startup. This overrides saveName, in that the latest save will always be used even if a saved game of the given name exists. It still controls the 'canonical' name of the savegame. @@ -108,7 +108,7 @@ in type = types.path; default = configFile; defaultText = literalExpression "configFile"; - description = lib.mdDoc '' + description = '' The server's configuration file. The default file generated by this module contains lines essential to @@ -119,7 +119,7 @@ in extraSettingsFile = mkOption { type = types.nullOr types.path; default = null; - description = lib.mdDoc '' + description = '' File, which is dynamically applied to server-settings.json before startup. @@ -136,7 +136,7 @@ in stateDirName = mkOption { type = types.str; default = "factorio"; - description = lib.mdDoc '' + description = '' Name of the directory under /var/lib holding the server's data. The configuration and map will be stored here. @@ -145,7 +145,7 @@ in mods = mkOption { type = types.listOf types.package; default = []; - description = lib.mdDoc '' + description = '' Mods the server should install and activate. The derivations in this list must "build" the mod by simply copying @@ -157,7 +157,7 @@ in mods-dat = mkOption { type = types.nullOr types.path; default = null; - description = lib.mdDoc '' + description = '' Mods settings can be changed by specifying a dat file, in the [mod settings file format](https://wiki.factorio.com/Mod_settings_file_format). @@ -166,14 +166,14 @@ in game-name = mkOption { type = types.nullOr types.str; default = "Factorio Game"; - description = lib.mdDoc '' + description = '' Name of the game as it will appear in the game listing. ''; }; description = mkOption { type = types.nullOr types.str; default = ""; - description = lib.mdDoc '' + description = '' Description of the game that will appear in the listing. ''; }; @@ -181,28 +181,28 @@ in type = types.attrs; default = {}; example = { admins = [ "username" ];}; - description = lib.mdDoc '' + description = '' Extra game configuration that will go into server-settings.json ''; }; public = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Game will be published on the official Factorio matching server. ''; }; lan = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Game will be broadcast on LAN. ''; }; username = mkOption { type = types.nullOr types.str; default = null; - description = lib.mdDoc '' + description = '' Your factorio.com login credentials. Required for games with visibility public. This option is insecure. Use extraSettingsFile instead. @@ -214,7 +214,7 @@ in password = mkOption { type = types.nullOr types.str; default = null; - description = lib.mdDoc '' + description = '' Your factorio.com login credentials. Required for games with visibility public. This option is insecure. Use extraSettingsFile instead. @@ -223,14 +223,14 @@ in token = mkOption { type = types.nullOr types.str; default = null; - description = lib.mdDoc '' + description = '' Authentication token. May be used instead of 'password' above. ''; }; game-password = mkOption { type = types.nullOr types.str; default = null; - description = lib.mdDoc '' + description = '' Game password. This option is insecure. Use extraSettingsFile instead. @@ -239,7 +239,7 @@ in requireUserVerification = mkOption { type = types.bool; default = true; - description = lib.mdDoc '' + description = '' When set to true, the server will only allow clients that have a valid factorio.com account. ''; }; @@ -247,14 +247,14 @@ in type = types.nullOr types.int; default = null; example = 10; - description = lib.mdDoc '' + description = '' Autosave interval in minutes. ''; }; nonBlockingSaving = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Highly experimental feature, enable only at your own risk of losing your saves. On UNIX systems, server will fork itself to create an autosave. Autosaving on connected Windows clients will be disabled regardless of autosave_only_on_server option. diff --git a/nixos/modules/services/games/freeciv.nix b/nixos/modules/services/games/freeciv.nix index bba27ae4cb5f..e4c05af3caba 100644 --- a/nixos/modules/services/games/freeciv.nix +++ b/nixos/modules/services/games/freeciv.nix @@ -25,9 +25,9 @@ in { options = { services.freeciv = { - enable = mkEnableOption (lib.mdDoc ''freeciv''); + enable = mkEnableOption ''freeciv''; settings = mkOption { - description = lib.mdDoc '' + description = '' Parameters of freeciv-server. ''; default = {}; @@ -36,9 +36,9 @@ in options.Announce = mkOption { type = types.enum ["IPv4" "IPv6" "none"]; default = "none"; - description = lib.mdDoc "Announce game in LAN using given protocol."; + description = "Announce game in LAN using given protocol."; }; - options.auth = mkEnableOption (lib.mdDoc "server authentication"); + options.auth = mkEnableOption "server authentication"; options.Database = mkOption { type = types.nullOr types.str; apply = pkgs.writeText "auth.conf"; @@ -47,25 +47,25 @@ in backend="sqlite" database="/var/lib/freeciv/auth.sqlite" ''; - description = lib.mdDoc "Enable database connection with given configuration."; + description = "Enable database connection with given configuration."; }; options.debug = mkOption { type = types.ints.between 0 3; default = 0; - description = lib.mdDoc "Set debug log level."; + description = "Set debug log level."; }; - options.exit-on-end = mkEnableOption (lib.mdDoc "exit instead of restarting when a game ends"); - options.Guests = mkEnableOption (lib.mdDoc "guests to login if auth is enabled"); - options.Newusers = mkEnableOption (lib.mdDoc "new users to login if auth is enabled"); + options.exit-on-end = mkEnableOption "exit instead of restarting when a game ends"; + options.Guests = mkEnableOption "guests to login if auth is enabled"; + options.Newusers = mkEnableOption "new users to login if auth is enabled"; options.port = mkOption { type = types.port; default = 5556; - description = lib.mdDoc "Listen for clients on given port"; + description = "Listen for clients on given port"; }; options.quitidle = mkOption { type = types.nullOr types.int; default = null; - description = lib.mdDoc "Quit if no players for given time in seconds."; + description = "Quit if no players for given time in seconds."; }; options.read = mkOption { type = types.lines; @@ -73,12 +73,12 @@ in default = '' /fcdb lua sqlite_createdb() ''; - description = lib.mdDoc "Startup script."; + description = "Startup script."; }; options.saves = mkOption { type = types.nullOr types.str; default = "/var/lib/freeciv/saves/"; - description = lib.mdDoc '' + description = '' Save games to given directory, a sub-directory named after the starting date of the service will me inserted to preserve older saves. @@ -86,7 +86,7 @@ in }; }; }; - openFirewall = mkEnableOption (lib.mdDoc "opening the firewall for the port listening for clients"); + openFirewall = mkEnableOption "opening the firewall for the port listening for clients"; }; }; config = mkIf cfg.enable { 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 diff --git a/nixos/modules/services/games/minecraft-server.nix b/nixos/modules/services/games/minecraft-server.nix index 116fc533dfd8..00af8dce6603 100644 --- a/nixos/modules/services/games/minecraft-server.nix +++ b/nixos/modules/services/games/minecraft-server.nix @@ -54,7 +54,7 @@ in { enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' If enabled, start a Minecraft Server. The server data will be loaded from and saved to {option}`services.minecraft-server.dataDir`. @@ -64,7 +64,7 @@ in { declarative = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to use a declarative Minecraft server configuration. Only if set to `true`, the options {option}`services.minecraft-server.whitelist` and @@ -76,7 +76,7 @@ in { eula = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether you agree to [ Mojangs EULA](https://account.mojang.com/documents/minecraft_eula). This option must be set to @@ -87,7 +87,7 @@ in { dataDir = mkOption { type = types.path; default = "/var/lib/minecraft"; - description = lib.mdDoc '' + description = '' Directory to store Minecraft database and other state/data files. ''; }; @@ -95,7 +95,7 @@ in { openFirewall = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to open ports in the firewall for the server. ''; }; @@ -108,7 +108,7 @@ in { }; in types.attrsOf minecraftUUID; default = {}; - description = lib.mdDoc '' + description = '' Whitelisted players, only has an effect when {option}`services.minecraft-server.declarative` is `true` and the whitelist is enabled @@ -141,7 +141,7 @@ in { "rcon.password" = "hunter2"; |