Files
wireguard-go/.envrc
T
Your Name bc84b69ebc add
2025-07-27 22:55:38 +08:00

15 lines
366 B
Bash

#!/usr/bin/env bash
# Automatically load the Nix flake development environment
use flake
# Add project-specific environment variables
export PROJECT_ROOT="$(pwd)"
export GOPATH="$PROJECT_ROOT/.go"
export GOBIN="$GOPATH/bin"
export GOCACHE="$PROJECT_ROOT/.gocache"
# Add Go bin to PATH
PATH_add "$GOBIN"
# Load any additional .env file if present
dotenv_if_exists