2024-10-21 12:31:30 +07:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
2024-08-22 10:43:30 +07:00
|
|
|
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
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|