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 vim

Clone this repository :

git clone https://github.com/Archisman-Mridha/dotfiles ~/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

nix-channel --add https://nixos.org/channels/nixpkgs-unstable\nnix-channel --update

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