Location tracking for my MTB adventures using Owntracks.
- Launch test VM
nix run .#vm
-
Launch NixOS AMI (
t2.small
instance) -
Enable Flakes
mkdir -p ~/.config/nix
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
- Deploy
nixos-rebuild switch --flake github:imincik/bike-tracking#ec2
- Allow following SG inbound rules
- TCP: port 80, 0.0.0.0/0
- Generate application credentials and phone configuration file
tracker-generate-password
-
Install Owntracks app (available for Android and iOS)
-
Load
phone-config.otrc
file generated bytracker-generate-password
command