diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-08-12 08:52:51 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-08-12 08:52:51 -0700 |
| commit | 61fa2329f553f9c7962e968e1ec98ae675903b70 (patch) | |
| tree | 0afdbf7c8fddda1718abee49db6206a5f8df5b09 /home/programs/go.nix | |
| parent | directories first (diff) | |
| download | infra-61fa2329f553f9c7962e968e1ec98ae675903b70.tar.gz | |
users -> home
Diffstat (limited to 'home/programs/go.nix')
| -rw-r--r-- | home/programs/go.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/home/programs/go.nix b/home/programs/go.nix new file mode 100644 index 0000000..0ae1ec1 --- /dev/null +++ b/home/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" + ]; +} |
