Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 844 Bytes

File metadata and controls

21 lines (19 loc) · 844 Bytes

Nix Flake for boot.dev Asteroids Project

The Build Asteroids using Python and Pygame semi-guided project on boot.dev requires the use of uv for the boot-cli tests. I had some issues getting pygame to actually open the game window on NixOS and figured I probably needed some additional libraries/packages, so this is a flake meant to address that + the uv requirement.

  • Clone this repo
  • "Detach" code from this repo and clear Git history
    • cd boot-asteroids-flake
    • rm -rf .git
  • Initialize new Git repository
    • git init
  • Stage files so flake.nix can be used (can also do initial commit of all files now if you want, or whenever)
    • git add .
    • (optional) git commit -m "batman"
      • "batman...because he ain't got no parents" - ThePrimeagen
  • Enable direnv activation for the project
    • direnv allow