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, ... }:
|
||||
{
|
||||
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
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue