home/go: remove redundant config

This commit is contained in:
Guanran Wang 2024-11-09 00:20:37 +08:00
parent f24774bf01
commit 27cd8af047
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF

View file

@ -1,16 +1,12 @@
{ pkgs, config, ... }:
{
programs.go.enable = true;
home.packages = with pkgs; [
go
gopls
delve
go-tools
];
xdg.configFile = {
"go/env".text = ''
xdg.configFile."go/env".text = ''
GOPATH=${config.xdg.cacheHome}/go
GOBIN=${config.xdg.stateHome}/go/bin
'';
};
}