This is the repository of my zsh
, tmux
, kitty
and neovim
configuration dotfiles.
The bootstrap procedure is managed by nix
. The process should work well on linux, macos
or even wsl.
-
Firstly, you need to make sure nix is installed on your system and setup the
home-manager
. -
Clone the repository to the proper position:
git clone https://github.com/inmzhang/dotfiles.git ~/.config/home-manager
cd ~/.config/home-manager
-
Check out
flake.nix
andhome.nix
, replace the username/system with yours. -
Setup Astronvim and complete bootstrap:
chmod +x ./setup.sh
./setup.sh
-
Whenever you changed
home.nix
or other configurations, you need to runhome-manager switch
to the change. -
To update the packages, run:
nix flake update
home-manager switch