home/go: remove redundant config
This commit is contained in:
parent
f24774bf01
commit
27cd8af047
1 changed files with 5 additions and 9 deletions
|
@ -1,16 +1,12 @@
|
||||||
{ pkgs, config, ... }:
|
{ pkgs, config, ... }:
|
||||||
{
|
{
|
||||||
programs.go.enable = true;
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
go
|
||||||
gopls
|
gopls
|
||||||
delve
|
|
||||||
go-tools
|
|
||||||
];
|
];
|
||||||
|
|
||||||
xdg.configFile = {
|
xdg.configFile."go/env".text = ''
|
||||||
"go/env".text = ''
|
GOPATH=${config.xdg.cacheHome}/go
|
||||||
GOPATH=${config.xdg.cacheHome}/go
|
GOBIN=${config.xdg.stateHome}/go/bin
|
||||||
GOBIN=${config.xdg.stateHome}/go/bin
|
'';
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue