Skip to content

Configurations for Neovim | VSCode | Zsh | Tmux | Nix Home Nanager | MacOS

License

Notifications You must be signed in to change notification settings

Archisman-Mridha/dotfiles

Repository files navigation

GUIDE

MacOS Linux Ubuntu Wezterm Zsh Tmux Neovim Editorconfig

I assume that you've a fresh MacOS (with M series CPU architecture) installed.

First install Nix :

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install

Then get into a temporary Nix shell, where you'll have access to git, stow and home-manager.

nix-shell -p git stow home-manager

Clone this repository :

git clone https://github.com/Archisman-Mridha/dotfiles ~/
cd ~/dotfiles

If you're on MacOS, install Homebrew by running :

unalias curl
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

You can customize .config/home-manager/config.nix based on your underlying system. Then execute the following commands :

stow --no-folding .

home-manager switch
nix run nix-darwin -- switch --flake $(pwd)/.config/home-manager

You can install the Monaco Nerd Font and Monaco For Powerline fonts :

cd ~/Downloads

git clone https://github.com/thep0y/monaco-nerd-font.git
mv ./monaco-nerd-font/ligaturized/* ~/Library/Fonts
rm -rf monaco-nerd-font

wget https://github.com/supermarin/powerline-fonts/raw/master/Monaco/Monaco%20for%20Powerline.otf -P ~/Library/Fonts

Execute these commands, if you want to cleanup Nix cache :

nix-collect-garbage -d

Updating packages

Go to ./.config/home-manager/ and run :

nix flake update
home-manager switch

CHEATSHEETS

PREVIEWS

  • Neovim and Tmux Neovim and Tmux

  • VSCode VSCode

  • Wallpaper Wallpaper

REFERENCES

TODOS

  • Enable image support in Neovim
  • Install Monaco Nerd Font fonts using Home-Manager.