git clone git@github.com:Nismit/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
./bootstrap.sh
# Select "Setup Nix (Initial)"This will:
- Install Nix
- Enable flakes
- Run home-manager to setup dotfiles
If you have existing symlinks from the old setup, run cleanup first:
./cleanup.sh
# Then run bootstrap and select "Setup Nix (Initial)"
./bootstrap.sh# Run bootstrap and select "Home Manager Switch"
bootstrap# Run bootstrap and select the bundle you need
bootstrap- Install Common Bundle - Chrome, Firefox, VSCode, Slack, etc.
- Install Personal Bundle - Personal tools
- Install Xcode Bundle - Xcode tooling
This dotfiles uses Moralerspace - a programming font combining Monaspace and IBM Plex Sans JP with Nerd Fonts support.
Download from releases.
git remote url might set https instead of git
git remote set-url origin git@github.com:Nismit/dotfiles.gitTo use this dotfiles on WSL(Windows Subsystem for Linux), recommend to install win32yank for copy & paste on nvim.
Recommend to install the patched nerd fonts for displaying the icons. nerd-fonts
After install the dotfiles, then you might get this message when you opened the terminal.
zsh compinit: insecure directories, run compaudit for list.
Ignore insecure directories and continue [y] or abort compinit [n]?
On the terminal, you need to run these commands.
chmod g-w /usr/local/share/zsh
chmod g-w /usr/local/share/zsh/site-functionsRef:
zsh-users/zsh-completions#680
https://stackoverflow.com/questions/13762280/zsh-compinit-insecure-directories/63447799#63447799