docs: hacking: update knot secret generation section to point to correct file #363

closed
opened by ptr.pet targeting master from ptr.pet/core: docs
Changed files
+4 -3
docs
+4 -3
docs/hacking.md
···
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: