From 17e871833d66f7fc6a6fcab043e51b196f103855 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 26 Jul 2025 11:01:53 -0700 Subject: moved every programs under users/programs Configurations specific to work are managed in the work profile. --- users/programs/go.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 users/programs/go.nix (limited to 'users/programs/go.nix') diff --git a/users/programs/go.nix b/users/programs/go.nix new file mode 100644 index 0000000..0ae1ec1 --- /dev/null +++ b/users/programs/go.nix @@ -0,0 +1,24 @@ +{ pkgs, config, ... }: +{ + programs.go = { + enable = true; + goPath = ".local/share/pkg.go"; + goBin = ".local/bin.go"; + goPrivate = [ + "github.rbx.com/*" + "github.com/fcuny/*" + ]; + }; + + home.packages = with pkgs; [ + delve + go-tools # collection of tools, https://github.com/dominikh/go-tools + golangci-lint + gopls + ]; + + home.sessionPath = [ + config.home.sessionVariables.GOBIN + "${config.home.homeDirectory}/.local/bin" + ]; +} -- cgit v1.2.3