aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/nixos/modules/services/games/minetest-server.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/modules/services/games/minetest-server.nix')
-rw-r--r--nixpkgs/nixos/modules/services/games/minetest-server.nix16
1 files changed, 8 insertions, 8 deletions
diff --git a/nixpkgs/nixos/modules/services/games/minetest-server.nix b/nixpkgs/nixos/modules/services/games/minetest-server.nix
index 98e69c6dc0e..f52079fc1ef 100644
--- a/nixpkgs/nixos/modules/services/games/minetest-server.nix
+++ b/nixpkgs/nixos/modules/services/games/minetest-server.nix
@@ -5,12 +5,12 @@ with lib;
let
cfg = config.services.minetest-server;
flag = val: name: if val != null then "--${name} ${val} " else "";
- flags = [
- (flag cfg.gameId "gameid")
- (flag cfg.world "world")
- (flag cfg.configPath "config")
- (flag cfg.logPath "logfile")
- (flag cfg.port "port")
+ flags = [
+ (flag cfg.gameId "gameid")
+ (flag cfg.world "world")
+ (flag cfg.configPath "config")
+ (flag cfg.logPath "logfile")
+ (flag cfg.port "port")
];
in
{
@@ -26,7 +26,7 @@ in
type = types.nullOr types.str;
default = null;
description = ''
- Id of the game to use. To list available games run
+ Id of the game to use. To list available games run
`minetestserver --gameid list`.
If only one game exists, this option can be null.
@@ -59,7 +59,7 @@ in
type = types.nullOr types.path;
default = null;
description = ''
- Path to logfile for logging.
+ Path to logfile for logging.
If set to null, logging will be output to stdout which means
all output will be catched by systemd.