NixOS/home/environments/protobuf.nix

18 lines
315 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
];
};
}