diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2016-12-11 14:59:41 +0100 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-12-13 15:12:33 +0100 |
commit | d893c86b34680fc4de04b8df05c84dc91c401ab0 (patch) | |
tree | fa7985ea16797d611f172b095e0f63daf01af163 /nixos/modules/services/games | |
parent | 33088accc814a139cdcb2f44018da6dba2ac056f (diff) | |
download | nixpkgs-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.nix | 2 |
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. |