-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.envrc
More file actions
31 lines (24 loc) · 739 Bytes
/
Copy path.envrc
File metadata and controls
31 lines (24 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# SPDX-License-Identifier: MPL-2.0
# Activate development environment - QUIET MODE
# Install direnv: https://direnv.net/
# Suppress direnv output
export DIRENV_LOG_FORMAT=
# Load .tool-versions if asdf is available
if has asdf; then
use asdf
fi
# Load Guix shell if guix.scm exists (quiet mode)
if has guix && [ -f guix.scm ]; then
use guix --quiet
fi
# Load Nix flake if flake.nix exists (quiet mode)
if has nix && [ -f flake.nix ]; then
use flake --quiet
fi
# Project environment variables
export PROJECT_NAME="Bundle of Joy Server"
export RSR_TIER="infrastructure"
# Source .env if it exists (gitignored)
dotenv_if_exists
# Suppress guix locale warnings
export GUIX_LOCPATH="${GUIX_LOCPATH:-$HOME/.guix-profile/lib/locale}"