From d893c86b34680fc4de04b8df05c84dc91c401ab0 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sun, 11 Dec 2016 14:59:41 +0100 Subject: [PATCH] terraria service: fixup worldPath option type Otherwise, using the defaults results in a type error. --- nixos/modules/services/games/terraria.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/games/terraria.nix b/nixos/modules/services/games/terraria.nix index 93377dedbd4b..21aff780b672 100644 --- a/nixos/modules/services/games/terraria.nix +++ b/nixos/modules/services/games/terraria.nix @@ -64,7 +64,7 @@ in }; worldPath = mkOption { - type = types.path; + type = types.nullOr types.path; default = null; description = '' The path to the world file (.wld) which should be loaded.