From 4cafba2a1369db31a529a8123b2aeb3427ea3541 Mon Sep 17 00:00:00 2001 From: Seongmin Lee Date: Sat, 29 Nov 2025 00:26:33 +0000 Subject: [PATCH] nix: change default vm knot port to 6444 Signed-off-by: Seongmin Lee --- docs/hacking.md | 2 +- nix/vm.nix | 8 ++++---- 2 file(s) changed, 5 insertion(s)(+), 5 deletion(s)(-) diff --git a/docs/hacking.md b/docs/hacking.md --- a/docs/hacking.md +++ b/docs/hacking.md @@ -117,7 +117,7 @@ # 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 --- a/nix/vm.nix +++ b/nix/vm.nix @@ -48,8 +48,8 @@ } # knot { from = "host"; - host.port = 6000; - guest.port = 6000; + host.port = 6444; + guest.port = 6444; } # spindle { @@ -87,10 +87,10 @@ enable = true; 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 = { -- tangled.sh