NixOS/home/environments/protobuf.nix

23 lines
323 B
Nix

{
config,
lib,
pkgs,
...
}:
let
cfg = config.profile.home.environments.protobuf;
inherit (lib) mkIf;
in
{
config = mkIf cfg.enable {
home.packages = with pkgs; [
buf
buf-language-server
protoc-gen-go
protoc-gen-go-grpc
protoc-gen-js
protoc-gen-connect-go
];
};
}