From 2f2f11cf540a553c8acc5de0a8fb7b1dd5edbcb8 Mon Sep 17 00:00:00 2001 From: Rory& Date: Sat, 27 Dec 2025 03:19:24 +0100 Subject: [PATCH] No default port --- nix/modules/default/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/modules/default/default.nix b/nix/modules/default/default.nix index 9aa34dbef..7eb5ced6b 100644 --- a/nix/modules/default/default.nix +++ b/nix/modules/default/default.nix @@ -104,8 +104,8 @@ in description = "Number of threads to run Spacebar on when using bundle. Make sure you've enabled RabbitMQ if using more than one."; }; PORT = lib.mkOption { - type = lib.types.port; - default = 3001; + type = lib.types.nullOr lib.types.port; + default = null; description = "Port to listen on. Used by all components, including bundle. If using bundle, all components run under the same port"; }; };