My dotfiles for a reproducible and idempotent development environment across platforms.
| Category | Tool |
|---|---|
| Shell | zsh |
| Terminal | WezTerm |
| Editor | Neovim (lazy.nvim) |
| Package Manager | Nix + Home Manager |
| VCS | Jujutsu (jj) |
| Formatter | biome / prettier / nixfmt / stylua |
- Install Nix
curl -L https://nixos.org/nix/install | sh- Enable flakes
mkdir ~/.config/nix
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf- Bootstrap
curl -fsSL https://raw.githubusercontent.com/takagiyuuki/dotfiles/refs/heads/main/bin/setup.sh | bash- Apply
home-manager switch --flake ~/dotfiles#yuki開発環境の再現性・冪等性を目的とした個人dotfiles。
- Nix をインストール
curl -L https://nixos.org/nix/install | sh- flakes を有効化
mkdir ~/.config/nix
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf- リポジトリをクローンする
curl -fsSL https://raw.githubusercontent.com/takagiyuuki/dotfiles/refs/heads/main/bin/setup.sh | bash- 設定を反映させる
home-manager switch --flake ~/dotfiles#yuki以下のステータスは変更して使用してください。
.home.nix
home.username = "yuki";
home.homeDirectory = "/home/yuki";
programs.git.settings.user.name
programs.git.settings.user.email
programs.jujutsu.settings.user.name
programs.jujutsu.settings.user.emailWindows環境でWeztermを使用している場合、以下のコマンドでシンボリックリンクを作成してください。
New-Item -ItemType SymbolicLink -Path "$HOME\.config\wezterm" -Target "\\wsl.localhost\Ubuntu\home\username\dotfiles\.config\wezterm"