about summary refs log tree commit diff
path: root/nix/users/fcuny/go.nix
blob: b52f89e8cefa0a03ac86d6ef2f8dfd27e5ac8f80 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{ config, pkgs, ... }: {
  home.packages = with pkgs; [ go-tools golangci-lint gopls delve ];

  programs.go = {
    enable = true;
    goPath = ".local/share/pkg.go";
    goBin = ".local/bin.go";
    goPrivate = [ "github.rbx.com/*" "github.com/fcuny/*" "git.fcuny.net/*" ];
  };

  home.sessionPath = [ config.home.sessionVariables.GOBIN ];
}