8000
: param server
8001
: file server
6969
: old frontend
Connect to http://192.168.203.1:6969/ once on the ht08
wifi.
- connect to the pi's local wifi network named
ht08
- open a command prompt that has ssh installed (powershell or bash)
scp [email protected]:/home/nixos/recordings/* .
(password isnixos
)
you may need to fix the mcap files as when they are not correctly closed (when we turn of LV it doesnt close the file correctly)
pre-reqs:
-
for non-nixOs systems that have the nix package manager installed:
- enable nix flakes
- install
qemu-user-static
package then in/etc/nix/nix.conf
add:extra-platforms = aarch64-linux arm-linux
andtrusted-users = root <username>
and then restartnix-daemon.service
-
to build the flake defined image:
nix build .#images.rpi4 --system aarch64-linux
typical workflow:
- Pull from Github
- Update nix flake with
nix flake update
- build with
nix build .#tcu_top --system aarch64-linux
for the tcu
- connect to
ht08
wifi network while tcu is on nix-copy-closure --to [email protected] result/
(will have store path as part of output to switch to. this exact store path will be switched to)- (ssh into pi
ssh [email protected]
) password isnixos
sudo /nix/store/<hash>-nixos-system-<version>/bin/switch-to-configuration switch
- profit
notes:
pushing to cachix (via emulated aarch64-linux): (after following the registration steps for pushing)
nix build --system aarch64-linux --json \
| jq -r '.[].outputs | to_entries[].value' \
| cachix push rcmast3r
writing to sd card with dd
. the /dev/sd<>
should just point to the device and not an existing partition on the device (eg: /dev/sdd
):
zstdcat <file.img.zst in result/> | sudo dd of=/dev/sd<change-me-pls> bs=4M status=progress oflag=direct