Files
music-agregator/devenv.nix
T
2026-07-12 10:36:14 +02:00

55 lines
772 B
Nix

{
pkgs,
lib,
config,
inputs,
...
}:
{
imports = [ ./containers/jackett.nix ];
languages.rust.enable = true;
git-hooks.hooks = {
clippy = {
enable = true;
settings.allFeatures = true;
};
treefmt.enable = true;
};
treefmt = {
enable = true;
config.programs = {
nixfmt.enable = true;
rustfmt.enable = true;
};
};
packages = with pkgs; [
git
just
protobuf
buf
grpcurl
# Protobuf generators
protoc-gen-prost-crate
protoc-gen-prost-serde
protoc-gen-tonic
protoc-gen-prost
opencode
];
services.postgres = {
enable = true;
# initialDatabases = [
# {
# name = "toradb";
# schema = ./db/schema.sql;
# }
# ];
};
}