Skip to content

cychiuae/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Install nix

$ sh <(curl -L https://nixos.org/nix/install)

Reference: https://nixos.org/download.html#nix-install-macos

Install Home manager

$ nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
$ nix-channel --update
$ nix-shell '<home-manager>' -A install

Clone the repository

# Clone it under `/$USER`
$ git clone git@github.com:cychiuae/dotfiles.git
# Create a symlink to config
$ ln -s /$USER/dotfiles/home-manager /$USER/.config/home-manager

Apply the config

$ home-manager switch