diff options
| author | Daniel Nagy <danielnagy@posteo.de> | 2021-05-25 19:25:07 +0200 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2021-06-01 13:15:24 +0000 |
| commit | 24e35b8c44704dee6a8827bf6b04e0058d163f71 (patch) | |
| tree | 423204009616cefa585dd085288758dbe7091687 | |
| parent | nixos/lighttpd: set port type to `types.port` (diff) | |
| download | nixpkgs-24e35b8c44704dee6a8827bf6b04e0058d163f71.tar.gz | |
nixos/terraria: adapt option types
(cherry picked from commit 137924cc96b589c8d335ff4a420b0e3bb208ac9e)
| -rw-r--r-- | nixos/modules/services/games/terraria.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/games/terraria.nix b/nixos/modules/services/games/terraria.nix index 9e8e5ae8759a..7312c7e6b635 100644 --- a/nixos/modules/services/games/terraria.nix +++ b/nixos/modules/services/games/terraria.nix @@ -42,7 +42,7 @@ in }; port = mkOption { - type = types.int; + type = types.port; default = 7777; description = '' Specifies the port to listen on. @@ -50,7 +50,7 @@ in }; maxPlayers = mkOption { - type = types.int; + type = types.ints.u8; default = 255; description = '' Sets the max number of players (between 1 and 255). |
