Skip to content

GenYuLi/dotfiles

 
 

Repository files navigation

dotfiles

These are my configuration for neovim, zsh, and tmux using nix and home-manager.

Screenshot 2023-01-16 at 13 39 33

Screenshot 2023-01-16 at 13 39 41

Getting Started

With Nix + Home Manager (master branch)

  1. install nix with the recommended installer provided by determinate systems
curl -fsSL https://install.determinate.systems/nix | sh -s -- install --prefer-upstream-nix
  1. clone this repo and apply the selected profile
# only required if git is not present
nix-shell -p git

git clone http://github.com/williamhsieh/dotfiles
./dotfiles/setup.py --bootstrap # show available flags with `--help`
  1. (optional) download nerd fonts for the terminal emulator, if home profile is selected

Without Nix (no-nix branch)

For machines where nix is not available (e.g. VBM, remote servers), standalone config files are provided in home-config/.

git clone http://github.com/williamhsieh/dotfiles -b no-nix
cd dotfiles

# symlink zsh config
ln -sf $(pwd)/home-config/.zshrc ~/.zshrc
ln -sf $(pwd)/home-config/.zshenv ~/.zshenv

# symlink other configs (tmux, nvim, navi)
ln -sf $(pwd)/config/tmux ~/.config/tmux
ln -sf $(pwd)/config/nvim ~/.config/nvim
ln -sf $(pwd)/config/navi ~/.config/navi

Prerequisites: zsh, zinit, oh-my-zsh, powerlevel10k, fzf, navi, thefuck

Feedback

Comments and suggestions are welcome!

About me

Acknowledgements

Inspiration and code were taken from many sources, including:

About

Personal dotfiles setup with nix and home-manager.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Lua 53.1%
  • Nix 23.4%
  • Vim Script 10.9%
  • Shell 8.8%
  • Python 2.5%
  • CSS 1.1%
  • Tree-sitter Query 0.2%