{ config, inputs, lib, pkgs, ... }: let feature = import ./common.nix { inherit pkgs; }; in { options = { my.dev.go = { enable = lib.mkEnableOption "Install Go tooling globally"; users = lib.mkOption { type = inputs.self.lib.usersOptionType lib; default = config.my.toggleUsers.dev; description = "Users to install Go packages for"; }; }; devShells.go = lib.mkOption { type = lib.types.package; default = feature.devShell; description = "Go development shell with Emacs tooling, REPL, formatter, and linter"; }; }; }