I think we used pkgs from unstable (as pkgs-unstable), because the Go version in NixOS 23.05 was too old. But now that we're on 23.11, which has a newer Go version, we can use pkgs from stable.
Also set StateDirectory in the systemd service to persist state.