Skip to content

takagiyuuki/dotfiles

Repository files navigation

Dotfiles

My dotfiles for a reproducible and idempotent development environment across platforms.

Stack

Category Tool
Shell zsh
Terminal WezTerm
Editor Neovim (lazy.nvim)
Package Manager Nix + Home Manager
VCS Jujutsu (jj)
Formatter biome / prettier / nixfmt / stylua

Setup

  1. Install Nix
curl -L https://nixos.org/nix/install | sh
  1. Enable flakes
mkdir ~/.config/nix
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
  1. Bootstrap
curl -fsSL https://raw.githubusercontent.com/takagiyuuki/dotfiles/refs/heads/main/bin/setup.sh | bash
  1. Apply
home-manager switch --flake ~/dotfiles#yuki

Dotfiles

概要

開発環境の再現性・冪等性を目的とした個人dotfiles。

セットアップ

  1. Nix をインストール
curl -L https://nixos.org/nix/install | sh
  1. flakes を有効化
mkdir ~/.config/nix
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
  1. リポジトリをクローンする
curl -fsSL https://raw.githubusercontent.com/takagiyuuki/dotfiles/refs/heads/main/bin/setup.sh | bash
  1. 設定を反映させる
home-manager switch --flake ~/dotfiles#yuki

Appendix

以下のステータスは変更して使用してください。

.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.email

Windows環境でWeztermを使用している場合、以下のコマンドでシンボリックリンクを作成してください。

New-Item -ItemType SymbolicLink -Path "$HOME\.config\wezterm" -Target "\\wsl.localhost\Ubuntu\home\username\dotfiles\.config\wezterm"

About

My personal dotfiles

Topics

Resources

License

Stars

Watchers

Forks

Contributors