/dotfiles

my configs

Primary LanguageNix

Installation

Manually create a directory that matches the root of ghq

$ mkdir -p ~/Desktop/dev/github.com/mrsekut
$ cd ~/Desktop/dev/github.com/mrsekut
$ git clone https://github.com/mrsekut/dotfiles.git
$ cd dotfiles

install just

$ bash ./just-install.sh

install nix

$ just nix-install

note: If you already have bash or zsh, you may get an error.

  1. In that case, back up /etc/zshrc etc. according to the error message
  2. After running $ just nix-uninstall, run $ just nix-install again

install home-manager

After moving the .zshrc to another location, run the following command.

$ just home-manager-install
$ just home-manager-apply

install nix-darwin

$ just nix-darwin-install

Application

home-manager

$ home-manager switch

Reference