feat: add proper nix flake

This commit is contained in:
2026-04-13 16:48:38 -04:00
parent 9a362630a2
commit 7d1996306c
16 changed files with 296 additions and 155 deletions

View File

@@ -21,7 +21,13 @@ A Minecraft bot with Lua scripting support, written in Rust with [azalea](https:
$ git clone https://github.com/ErrorNoInternet/ErrorNoWatcher
$ cd ErrorNoWatcher
$ cargo build --release
$ # ./target/release/errornowatcher
$ ./target/release/errornowatcher
```
#### Nix
```sh
nix run github:ErrorNoInternet/ErrorNoWatcher
```
Make sure the `Server` and `Username` globals are defined in `main.lua` before starting the bot.