Partial rewrite of https://github.com/ruby0b/shinobu-bot-py in Haskell.
- Add the flake to your inputs:
inputs.shinobu-bot-hs.url = "github:ruby0b/shinobu-bot-hs";
- Use the overlay
inputs.shinobu-bot-hs.overlay.${system}
. - Import
inputs.shinobu-bot-hs.nixosModules.default
. - Enable the service in your configuration:
services.shinobu-bot-hs = {
enable = true;
token = "MY_DISCORD_BOT_TOKEN";
};
Start the hoogle webserver (http://localhost:8080/):
nix develop -c hoogle server