summary refs log tree commit diff
path: root/nixos/modules/services/games
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2016-12-11 14:59:41 +0100
committerJoachim Fasting <joachifm@fastmail.fm>2016-12-13 15:12:33 +0100
commitd893c86b34680fc4de04b8df05c84dc91c401ab0 (patch)
treefa7985ea16797d611f172b095e0f63daf01af163 /nixos/modules/services/games
parent33088accc814a139cdcb2f44018da6dba2ac056f (diff)
downloadnixpkgs-d893c86b34680fc4de04b8df05c84dc91c401ab0.tar
nixpkgs-d893c86b34680fc4de04b8df05c84dc91c401ab0.tar.gz
nixpkgs-d893c86b34680fc4de04b8df05c84dc91c401ab0.tar.bz2
nixpkgs-d893c86b34680fc4de04b8df05c84dc91c401ab0.tar.lz
nixpkgs-d893c86b34680fc4de04b8df05c84dc91c401ab0.tar.xz
nixpkgs-d893c86b34680fc4de04b8df05c84dc91c401ab0.tar.zst
nixpkgs-d893c86b34680fc4de04b8df05c84dc91c401ab0.zip
terraria service: fixup worldPath option type
Otherwise, using the defaults results in a type error.
Diffstat (limited to 'nixos/modules/services/games')
-rw-r--r--nixos/modules/services/games/terraria.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/games/terraria.nix b/nixos/modules/services/games/terraria.nix
index 93377dedbd4..21aff780b67 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 (<literal>.wld</literal>) which should be loaded.