mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 16:10:45 +01:00
chore: update
This commit is contained in:
parent
26815c337f
commit
6c6f264768
19 changed files with 187 additions and 103 deletions
|
|
@ -2,14 +2,16 @@
|
|||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
{ config, ... }:
|
||||
{
|
||||
programs.go = {
|
||||
enable = true;
|
||||
goPath = ".local/share/go";
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
GOTOOLCHAIN = "local";
|
||||
GOPROXY = "direct";
|
||||
env = {
|
||||
GOPATH = "${config.xdg.dataHome}/go";
|
||||
GOTOOLCHAIN = "local";
|
||||
GOPROXY = "direct";
|
||||
};
|
||||
telemetry.mode = "off";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue