aboutsummaryrefslogblamecommitdiff
path: root/home/profiles/go.nix
blob: d6ea5f46f7c6772abb195cc8e43e7fe2b981aa91 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                      
 





                                                                        

                  






                                               
    
 
{ config, pkgs, ... }:
{
  home.packages = with pkgs; [
    go-tools # collection of tools, https://github.com/dominikh/go-tools
    golangci-lint
    gopls
  ];

  programs.go = {
    enable = true;
    env = {
      GOPATH = "${config.xdg.dataHome}/pkg.go";
      GOPRIVATE = [
        "github.rbx.com/*"
        "fcuny.net/*"
      ];
    };
  };
}