summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-27 03:19:24 +0100
committerRory& <root@rory.gay>2025-12-27 03:19:24 +0100
commit2f2f11cf540a553c8acc5de0a8fb7b1dd5edbcb8 (patch)
tree551f6bd8fadd95016268bc5995073e0398ab5c80
parentUse systemd runtimedirectory (diff)
downloadserver-ts-2f2f11cf540a553c8acc5de0a8fb7b1dd5edbcb8.tar.xz
No default port
-rw-r--r--nix/modules/default/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/modules/default/default.nix b/nix/modules/default/default.nix

index 9aa34dbe..7eb5ced6 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"; }; };