trictrac/devenv.nix
2023-10-29 20:48:53 +01:00

28 lines
512 B
Nix

{ pkgs, ... }:
{
# https://devenv.sh/basics/
# env.GREET = "devenv";
packages = [
pkgs.alsaLib pkgs.udev # for bevy
];
# enterShell = ''
# hello
# git --version
# '';
# https://devenv.sh/languages/
languages.rust.enable = true;
# https://devenv.sh/scripts/
# scripts.hello.exec = "echo hello from $GREET";
# https://devenv.sh/pre-commit-hooks/
pre-commit.hooks.shellcheck.enable = true;
# https://devenv.sh/processes/
# processes.ping.exec = "ping example.com";
}