Diátaxis: 📖 Reference
このドキュメントでは、nix/modules/ 配下のNixモジュール構成を説明します。なぜこのように分割されているかは architecture.md を参照してください。
基本的なシステムパッケージを定義:
- curl, wget, git
- cmake, pkg-config
- mako, libnotify
Rust開発ツールとCLIツールを定義:
- rustup, cargo
- fd, ripgrep, eza, bat
- gitui, tealdeer, hyperfine
Fish shellとStarshipの設定:
- Fish shell with plugins (z, bass)
- Starship prompt configuration
- Shell aliases and functions
Git設定:
- User information
- Aliases
- Delta (better diff viewer)
- GitHub CLI (gh)
Tmux設定:
- Key bindings
- Status bar configuration
- Plugins (sensible, yank, resurrect, etc.)
Neovim設定:
- Language servers (LSP)
- Formatters and linters
- Tree-sitter
- Python environment for Neovim
開発ツール:
- Container tools (Docker, lazydocker)
- Cloud tools (AWS CLI, kubectl, k9s)
- Database clients
- Language runtimes
- System monitoring tools
現在、home.nix ではハードコードされたユーザー名 archie を使用しています。
環境に応じて変更してください(手順は customize-your-fork.md を参照):
home.username = "your-username"; # Change this
home.homeDirectory = "/home/your-username"; # And this現在の設定は x86_64-linux をターゲットにしています。
他のプラットフォーム (macOS, ARM) のサポートも可能ですが、追加の設定が必要です。
- architecture.md - モジュール分割の設計思想
- customize-your-fork.md - 新しいモジュールの作成方法
- directory-structure.md - ディレクトリ構造