You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tetrs.overlays.default is an overlay that adds tetrs to pkgs
tetrs.nixosModules.default is a Home Manager module for configuring tetrs, only needed if you want to change the default settings (under ./config/default.toml)
Also provides a dev shell, enter root directory and run nix shell
Or, if using direnv run the below commands from root directory:
echo "use flake" >> .envrc
direnv allow
To run locally just use cargo run inside the shell environment, or use nix flake run
Configuration
Configuration file is optional and located at ~/.config/tetrs/config.toml
Supports configuration of all keybindings, as well as DAS, the length of time (in ms) you have to hold a direction key for the piece to snap to the edge of the screen. Default 150
Default configuration is under ./config/default.toml and should hopefully be self-explanatory.
About
Tetris in Rust (sort of) following Guideline rules