From 50ba0ac3d6ce702e7e7488cd5edcf89f67496112 Mon Sep 17 00:00:00 2001 From: Daniel Nagy Date: Fri, 18 Jun 2021 17:30:11 +0200 Subject: [PATCH] nixos/dockerRegistry: use `port` type --- nixos/modules/services/misc/docker-registry.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/misc/docker-registry.nix b/nixos/modules/services/misc/docker-registry.nix index 1c2e2cc53590..e212f581c28a 100644 --- a/nixos/modules/services/misc/docker-registry.nix +++ b/nixos/modules/services/misc/docker-registry.nix @@ -58,7 +58,7 @@ in { port = mkOption { description = "Docker registry port to bind to."; default = 5000; - type = types.int; + type = types.port; }; storagePath = mkOption {