Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ man() {
# sheldon
eval "$(sheldon source)"

# direnv: auto-load per-directory environments (e.g. Nix devShells via .envrc)
eval "$(direnv hook zsh)"

# The next line updates PATH for the Google Cloud SDK.
if [ -f '/Users/naoki/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/naoki/google-cloud-sdk/path.zsh.inc'; fi

Expand Down
1 change: 1 addition & 0 deletions Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ tap "aquaproj/aqua"
tap "gcenx/wine"
tap "playcover/playcover"
brew "aqua"
brew "bash"
brew "clang-format"
brew "cmake"
brew "ffmpeg"
Expand Down
30 changes: 30 additions & 0 deletions aqua/aqua-checksums.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,36 @@
"checksum": "A341BF9E1074A1586C2CE3E0E46685C1722B4C99A4699B34A906E3A47E3885E5",
"algorithm": "sha256"
},
{
"id": "github_release/github.com/direnv/direnv/v2.37.1/direnv.darwin-amd64",
"checksum": "24FB9CE48B563D7E9FBDD3A4E3E836941654A31CE3E67EBA9EAAFC3DCD8AE73B",
"algorithm": "sha256"
},
{
"id": "github_release/github.com/direnv/direnv/v2.37.1/direnv.darwin-arm64",
"checksum": "4F569F3A36732BFD8B8FEA7BFCC6AD87A59745C109022164D0CA4832451D5369",
"algorithm": "sha256"
},
{
"id": "github_release/github.com/direnv/direnv/v2.37.1/direnv.linux-amd64",
"checksum": "1F1B93DD6F38523FDE26DFAC96151EF9D31A374E3005CD3345FB93555AE0C9B5",
"algorithm": "sha256"
},
{
"id": "github_release/github.com/direnv/direnv/v2.37.1/direnv.linux-arm64",
"checksum": "2A9CEF8D73521D6A3EC3F2871C4B747B8C4CC038628C1B57A7EFA42B393A2D82",
"algorithm": "sha256"
},
{
"id": "github_release/github.com/direnv/direnv/v2.37.1/direnv.windows-amd64",
"checksum": "D96FC8B7CF020C2D4C1DBBC2CCEC5FD1CAB05B51C491F02C8527A7FA6C50A1CD",
"algorithm": "sha256"
},
{
"id": "github_release/github.com/direnv/direnv/v2.37.1/direnv.windows-arm64",
"checksum": "6802F722F5EF12562D6E3E15C26F39E34B337E5BE12EA22F17284552CD782298",
"algorithm": "sha256"
},
{
"id": "github_release/github.com/evilmartians/lefthook/v2.1.6/lefthook_2.1.6_Linux_aarch64.gz",
"checksum": "F85CC031DA8E3571418170AB53F1E6E184A086B58683E13660BD5248974159A4",
Expand Down
2 changes: 2 additions & 0 deletions aqua/imports/direnv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
packages:
- name: direnv/direnv@v2.37.1
6 changes: 6 additions & 0 deletions direnv/direnvrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# nix-direnv: caches `use flake` evaluation and pins build deps as gcroots so
# they survive garbage collection. Loaded globally so each project's .envrc
# stays a bare `use flake`. Pinned by version + checksum.
if ! has nix_direnv_version || ! nix_direnv_version 3.1.2; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.1.2/direnvrc" "sha256-Di03ad3a0ueGi6CGrfhrQzyGdQIg9APXIPCAMNQgWYM="
fi
2 changes: 2 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ mkdir -p ~/.config/aqua
mkdir -p ~/.config/ghostty/themes
mkdir -p ~/.config/sheldon
mkdir -p ~/.config/nvim
mkdir -p ~/.config/direnv
mkdir -p ~/.local/share/sheldon
mkdir -p ~/.cursor
mkdir -p ~/.claude
Expand Down Expand Up @@ -80,6 +81,7 @@ ln -sfn "$DOTFILES_DIR/ghostty/themes/kanagawa-wave" ~/.config/ghostty/themes/ka
ln -sfn "$DOTFILES_DIR/sheldon/plugins.toml" ~/.config/sheldon/plugins.toml
ln -sfn "$DOTFILES_DIR/sheldon/plugins.lock" ~/.local/share/sheldon/plugins.lock
ln -sfn "$DOTFILES_DIR/nvim" ~/.config/nvim
ln -sfn "$DOTFILES_DIR/direnv/direnvrc" ~/.config/direnv/direnvrc

echo "✓ Symlinks created"

Expand Down
Loading