diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-11-02 13:06:05 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-11-02 13:06:05 -0800 |
| commit | cb961051f8307a0bfd6e75acb52a7b7ac003e4d0 (patch) | |
| tree | c2e3e29716bf10bb5d95d2c11d8692672c379c5f /home/profiles/go.nix | |
| parent | move remote-unlock as a profile (diff) | |
| download | infra-cb961051f8307a0bfd6e75acb52a7b7ac003e4d0.tar.gz | |
simplify configuration for darwin
Diffstat (limited to 'home/profiles/go.nix')
| -rw-r--r-- | home/profiles/go.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/home/profiles/go.nix b/home/profiles/go.nix new file mode 100644 index 0000000..87e7add --- /dev/null +++ b/home/profiles/go.nix @@ -0,0 +1,18 @@ +{ pkgs, ... }: +{ + home.packages = with pkgs; [ + go-tools # collection of tools, https://github.com/dominikh/go-tools + golangci-lint + gopls + ]; + + programs.go = { + enable = true; + goPath = ".local/share/pkg.go"; + goBin = ".local/bin.go"; + goPrivate = [ + "github.rbx.com/*" + "github.com/fcuny/*" + ]; + }; +} |
