Files
harbor/devenv.nix
T
pure_sagacity c64ed1be4e added database stuff
added clap arguments
added the gen_or_get_key func in lib
git ignore for .env
migrations
2026-07-13 17:43:00 -05:00

43 lines
586 B
Nix

{
pkgs,
...
}:
{
packages = with pkgs; [
cargo-watch
prettier
nixfmt
clippy
sqlite
];
languages.rust = {
enable = true;
lsp.enable = true;
components = [
"rustc"
"cargo"
"clippy"
"rustfmt"
"rust-analyzer"
];
};
dotenv.enable = true;
enterTest = ''
cargo test
'';
git-hooks.hooks = {
shellcheck.enable = true;
prettier.enable = true;
rustfmt.enable = true;
nixfmt.enable = true;
clippy.enable = true;
};
# See full reference at https://devenv.sh/reference/options/
}