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/programs/go.nix | |
| parent | move remote-unlock as a profile (diff) | |
| download | infra-cb961051f8307a0bfd6e75acb52a7b7ac003e4d0.tar.gz | |
simplify configuration for darwin
Diffstat (limited to '')
| -rw-r--r-- | home/profiles/go.nix (renamed from home/programs/go.nix) | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/home/programs/go.nix b/home/profiles/go.nix index 0ae1ec1..87e7add 100644 --- a/home/programs/go.nix +++ b/home/profiles/go.nix @@ -1,5 +1,11 @@ -{ pkgs, config, ... }: +{ 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"; @@ -9,16 +15,4 @@ "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" - ]; } |
