about summary refs log tree commit diff
path: root/nixos/modules/services/networking/nar-serve.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/networking/nar-serve.nix')
-rw-r--r--nixos/modules/services/networking/nar-serve.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/nar-serve.nix b/nixos/modules/services/networking/nar-serve.nix
index ddd42fa01073..745138186a20 100644
--- a/nixos/modules/services/networking/nar-serve.nix
+++ b/nixos/modules/services/networking/nar-serve.nix
@@ -13,7 +13,7 @@ in
       enable = mkEnableOption "Serve NAR file contents via HTTP";
 
       port = mkOption {
-        type = types.int;
+        type = types.port;
         default = 8383;
         description = ''
           Port number where nar-serve will listen on.