{ config, lib, pkgs, ... }: # Bazel for the primary user's shell environment. { options.modules.shell.bazel.enable = lib.mkEnableOption "Bazel for the primary user's shell environment"; config = lib.mkIf config.modules.shell.bazel.enable { home-manager.users.${config.user.name}.home.packages = [ pkgs.bazel ]; }; }