From 56321d869575157c7e93ea439ca2d7d25e368bcf Mon Sep 17 00:00:00 2001 From: Seongmin Lee Date: Sat, 29 Nov 2025 09:26:33 +0900 Subject: [PATCH] nix: change default vm knot port to 6444 Change-Id: rsumuwrmxwkuqqnyvluxtlzzrrollrwv Signed-off-by: Seongmin Lee --- docs/hacking.md | 2 +- nix/vm.nix | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/hacking.md b/docs/hacking.md index aa77efe9..977d5f6f 100644 --- a/docs/hacking.md +++ b/docs/hacking.md @@ -117,7 +117,7 @@ nix run --impure .#vm # type `poweroff` at the shell to exit the VM ``` -This starts a knot on port 6000, a spindle on port 6555 +This starts a knot on port 6444, a spindle on port 6555 with `ssh` exposed on port 2222. Once the services are running, head to diff --git a/nix/vm.nix b/nix/vm.nix index 0caf8a61..f9dd9923 100644 --- a/nix/vm.nix +++ b/nix/vm.nix @@ -48,8 +48,8 @@ in # knot { from = "host"; - host.port = 6000; - guest.port = 6000; + host.port = 6444; + guest.port = 6444; } # spindle { @@ -87,10 +87,10 @@ in motd = "Welcome to the development knot!\n"; server = { owner = envVar "TANGLED_VM_KNOT_OWNER"; - hostname = envVarOr "TANGLED_VM_KNOT_HOST" "localhost:6000"; + hostname = envVarOr "TANGLED_VM_KNOT_HOST" "localhost:6444"; plcUrl = plcUrl; jetstreamEndpoint = jetstream; - listenAddr = "0.0.0.0:6000"; + listenAddr = "0.0.0.0:6444"; }; }; services.tangled.spindle = { -- 2.43.0