Add Nix flake support, update .gitignore to ignore SSL certs, upgrade @types/bun and TypeScript versions, and update frontend SDK URLs in index.html and sw.js to new API endpoints