dotfiles
MACの環境設定
Lua★ 137⑂ 1 forksupdated 3 days ago
git clone https://github.com/mozumasu/dotfiles.gitmozumasu/dotfilesREADME.mdfork it — it’s yours
Dotfiles
Tools
Settings
- wezterm
.config/wezterm - zsh
.config/zsh - Neovim
.config/nvim
Articles
Scripts
- 📅 Raycast Today Suite — 今日の予定 / close した issue / サマリをクリップボードにコピー
.---\ "MMMMN, #MM#.
/ \ "MMMMM, MMMMM7
\ \ "MMMMM,vMMMMM"
\ \ "MMMMMMMMMM"
.------? 4--------\"MMMMMMMM"
/ \"MMMMM4 /\
/_________________________\"MMMMM. / \
.MMMMM" "MMMMM. / \
.MMMMM" "MMMMM,/ /
.MMMMM" "MMMM/ /
.MMMMM" "MM/ /
MMMMMMMMMMMMMM" "/ 4------.
pMMMMMMMMMMMMM", / '
NMMMMMMMMMMM"/ \ / _________/
,#MMMM"/ \ / /
,MMMMM"/ \ / /
"MMMMM" \ \ /______/
"MMM" \ \"MMMMMMMMMMMMMMMMMMMMMMMMMP
"M" / \"MMMMMMMMMMMMMMMMMMMMMMMP
" / \"MMMMMMMMMMMMMMMMMMMMMP
/ \ "NMMMM,
/ /\ \ "NMMMMM
4 / \ \ "NMMMM"
\___/ \_____\ "NMM"
███╗ ██╗██╗██╗ ██╗
████╗ ██║██║╚██╗██╔╝
██╔██╗ ██║██║ ╚███╔╝
██║╚██╗██║██║ ██╔██╗
██║ ╚████║██║██╔╝╚██╗
╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝
Setup (New Mac)
Installation
# 1. Install Nix sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) # 2. Clone dotfiles (use nix-shell if git is not installed) nix-shell -p git --run "git clone https://github.com/mozumasu/dotfiles ~/dotfiles" # 3. Backup existing shell configs (first time only) sudo mv /etc/bashrc /etc/bashrc.before-nix-darwin sudo mv /etc/zshrc /etc/zshrc.before-nix-darwin # 4. Apply nix-darwin configuration (first time) # Note: $HOME is expanded before sudo runs, so the path is correct # Replace <hostname> with your host name (geisha, bourbon, etc.) sudo nix run \ --extra-experimental-features nix-command \ --extra-experimental-features flakes \ nix-darwin -- switch --flake "$HOME/dotfiles/.config/nix#<hostname>" # After initial setup, use: # nix-switch (or darwin-rebuild switch --flake ~/dotfiles/.config/nix#<hostname>)
Homebrew is automatically installed via nix-homebrew
Available Hosts
| Host | Description |
|---|---|
geisha |
Main Mac |
bourbon |
Second Mac |
What's Managed by Nix
| Category | Description |
|---|---|
| Homebrew | Auto-installed via nix-homebrew |
| CLI Tools | 75+ packages via home-manager |
| GUI Apps | 43 Casks via Homebrew |
| Brew Packages | 99 formulae |
| Dotfiles | nvim, zsh, wezterm, karabiner, etc. |
| macOS Settings | Dock, Finder, Keyboard, Trackpad, etc. |
Manual Setup Required
| Item | Reason |
|---|---|
| Apple ID | Security |
| App Logins | Authentication |
| SSH Keys | ~/.ssh/ not managed |
| AWS/Git Credentials | Sensitive data |
Daily Commands
# Apply configuration changes nix-switch # Update flake inputs nfu # Garbage collection ngc
Commit Message
npx czg --api-key="ghp_xxxxxx" --api-endpoint="https://models.inference.ai.azure.com" --api-model="gpt-4o-mini"
more like this
vim-dap
Vim/Neovim debugger plugin providing a terminal interface to the Debug Adapter Protocol
Vim Script★ 50
tobira.nvim
Open the next door in your Vim journey — personalized command discovery based on your actual usage
Lua★ 51


