summary refs log tree commit diff
path: root/nixos/modules/services/games
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-08-14 09:03:30 +0200
committerpennae <82953136+pennae@users.noreply.github.com>2022-08-19 22:40:58 +0200
commit7e7d68a250f75678451cd44f8c3d585bf750461e (patch)
treeed5d8dc84de9f9651eb331a34c41b1c5b2197ef7 /nixos/modules/services/games
parentb51f8036c2c4e887ce45372dc6b7a4c4a54a0ea0 (diff)
downloadnixpkgs-7e7d68a250f75678451cd44f8c3d585bf750461e.tar
nixpkgs-7e7d68a250f75678451cd44f8c3d585bf750461e.tar.gz
nixpkgs-7e7d68a250f75678451cd44f8c3d585bf750461e.tar.bz2
nixpkgs-7e7d68a250f75678451cd44f8c3d585bf750461e.tar.lz
nixpkgs-7e7d68a250f75678451cd44f8c3d585bf750461e.tar.xz
nixpkgs-7e7d68a250f75678451cd44f8c3d585bf750461e.tar.zst
nixpkgs-7e7d68a250f75678451cd44f8c3d585bf750461e.zip
nixos/*: mark pre-existing markdown descriptions as mdDoc
Diffstat (limited to 'nixos/modules/services/games')
-rw-r--r--nixos/modules/services/games/crossfire-server.nix4
-rw-r--r--nixos/modules/services/games/deliantra-server.nix2
-rw-r--r--nixos/modules/services/games/minetest-server.nix6
3 files changed, 6 insertions, 6 deletions
diff --git a/nixos/modules/services/games/crossfire-server.nix b/nixos/modules/services/games/crossfire-server.nix
index a0dc1e6c564..7820a08be40 100644
--- a/nixos/modules/services/games/crossfire-server.nix
+++ b/nixos/modules/services/games/crossfire-server.nix
@@ -41,7 +41,7 @@ in {
     stateDir = mkOption {
       type = types.str;
       default = "/var/lib/crossfire";
-      description = ''
+      description = lib.mdDoc ''
         Where to store runtime data (save files, persistent items, etc).
 
         If left at the default, this will be automatically created on server
@@ -61,7 +61,7 @@ in {
 
     configFiles = mkOption {
       type = types.attrsOf types.str;
-      description = ''
+      description = lib.mdDoc ''
         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 17bdf2aef77..f39044eda7c 100644
--- a/nixos/modules/services/games/deliantra-server.nix
+++ b/nixos/modules/services/games/deliantra-server.nix
@@ -41,7 +41,7 @@ in {
     stateDir = mkOption {
       type = types.str;
       default = "/var/lib/deliantra";
-      description = ''
+      description = lib.mdDoc ''
         Where to store runtime data (save files, persistent items, etc).
 
         If left at the default, this will be automatically created on server
diff --git a/nixos/modules/services/games/minetest-server.nix b/nixos/modules/services/games/minetest-server.nix
index bc6ab7462d6..34e0ba8c8e5 100644
--- a/nixos/modules/services/games/minetest-server.nix
+++ b/nixos/modules/services/games/minetest-server.nix
@@ -25,7 +25,7 @@ in
       gameId = mkOption {
         type        = types.nullOr types.str;
         default     = null;
-        description = ''
+        description = lib.mdDoc ''
           Id of the game to use. To list available games run
           `minetestserver --gameid list`.
 
@@ -36,7 +36,7 @@ in
       world = mkOption {
         type        = types.nullOr types.path;
         default     = null;
-        description = ''
+        description = lib.mdDoc ''
           Name of the world to use. To list available worlds run
           `minetestserver --world list`.
 
@@ -47,7 +47,7 @@ in
       configPath = mkOption {
         type        = types.nullOr types.path;
         default     = null;
-        description = ''
+        description = lib.mdDoc ''
           Path to the config to use.
 
           If set to null, the config of the running user will be used: