diff options
| author | Franck Cuny <franck@fcuny.net> | 2026-01-02 12:06:12 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2026-01-02 12:06:12 -0800 |
| commit | 9dadee200241480f3c20677bf6aea63126bb880f (patch) | |
| tree | 7757c2d7c8e2cf8bbd3fd17efbef58d5bd68b088 /home/programs/go.nix | |
| parent | initial setup for ollama (diff) | |
| download | infra-9dadee200241480f3c20677bf6aea63126bb880f.tar.gz | |
one last big shuffle
Diffstat (limited to 'home/programs/go.nix')
| -rw-r--r-- | home/programs/go.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/home/programs/go.nix b/home/programs/go.nix new file mode 100644 index 0000000..d6ea5f4 --- /dev/null +++ b/home/programs/go.nix @@ -0,0 +1,19 @@ +{ 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/*" + ]; + }; + }; +} |
