I assume that you've a fresh MacOS (with M series CPU architecture) installed.
First install Nix :
sh <(curl -L https://nixos.org/nix/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
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
-
Nix home-manager tutorial: Declare your entire home directory
-
How I Use Tmux With Neovim For An Awesome Dev Workflow On My Mac
-
Setup nix, nix-darwin and home-manager from scratch on an M1 Macbook Pro
-
When and how should default.nix, shell.nix and release.nix be used?
- Enable easy variable renaming in Neovim using https://github.com/ray-x/navigator.lua
- Enable image support in Neovim
- Make the Neovim Markdown plugin recognize checkboxes
- Bring support for code-folding in Neovim
- Install
Monaco Nerd Font
andMonaco For Powerline
fonts using Home-Manager.