From 01a2ab4e1f10f5144a67c0860b1bf59b07f5827d Mon Sep 17 00:00:00 2001 From: dusk Date: Wed, 30 Jul 2025 15:28:32 +0300 Subject: [PATCH] docs: hacking: update knot secret generation section to point to correct file Change-Id: snlxwmuuxsprrklkmmwsstwkmrlvylwp --- docs/hacking.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/hacking.md b/docs/hacking.md index 03bd976..8cc858b 100644 --- a/docs/hacking.md +++ b/docs/hacking.md @@ -55,9 +55,10 @@ An end-to-end knot setup requires setting up a machine with quite cumbersome. So the nix flake provides a `nixosConfiguration` to do so. -To begin, head to `http://localhost:3000` in the browser and -generate a knot secret. Replace the existing secret in -`flake.nix` with the newly generated secret. +To begin, head to `http://localhost:3000/knots` in the browser +and generate a knot secret. Replace the existing secret in +`nix/vm.nix` (`KNOT_SERVER_SECRET`) with the newly generated +secret. You can now start a lightweight NixOS VM using `nixos-shell` like so: -- 2.43.0