diff --git a/home/applications/go/default.nix b/home/applications/go/default.nix index 9d034ac..dae261c 100644 --- a/home/applications/go/default.nix +++ b/home/applications/go/default.nix @@ -1,16 +1,12 @@ { pkgs, config, ... }: { - programs.go.enable = true; home.packages = with pkgs; [ + go gopls - delve - go-tools ]; - xdg.configFile = { - "go/env".text = '' - GOPATH=${config.xdg.cacheHome}/go - GOBIN=${config.xdg.stateHome}/go/bin - ''; - }; + xdg.configFile."go/env".text = '' + GOPATH=${config.xdg.cacheHome}/go + GOBIN=${config.xdg.stateHome}/go/bin + ''; }