mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 16:10:45 +01:00
manage Go with HM
This commit is contained in:
parent
a36da6fe5e
commit
f4d346b89c
4 changed files with 7 additions and 8 deletions
|
|
@ -30,10 +30,6 @@ set -x NEXT_TELEMETRY_DISABLED 1 # Next.js
|
|||
set -x CHECKPOINT_DISABLE 1 # Prisma
|
||||
set -x DISABLE_TELEMETRY YES # diffusers
|
||||
|
||||
# go
|
||||
set -x GOPATH "$HOME/.go"
|
||||
fish_add_path "$GOPATH/bin"
|
||||
|
||||
# direnv
|
||||
set -x DIRENV_LOG_FORMAT ""
|
||||
|
||||
|
|
|
|||
6
programs/go.nix
Normal file
6
programs/go.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{...}: {
|
||||
programs.go = {
|
||||
enable = true;
|
||||
goPath = ".go";
|
||||
};
|
||||
}
|
||||
|
|
@ -32,10 +32,6 @@ export NEXT_TELEMETRY_DISABLED=1 # Next.js
|
|||
export CHECKPOINT_DISABLE=1 # Prisma
|
||||
export DISABLE_TELEMETRY=YES # diffusers
|
||||
|
||||
# go
|
||||
export GOPATH="$HOME/.go"
|
||||
export PATH="$GOPATH/bin:$PATH"
|
||||
|
||||
# direnv
|
||||
export DIRENV_LOG_FORMAT=""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue