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
just
is not added to yourPATH
, you can run it directly using the full path. For example:$ /Users/<username>/.local/bin/just nix-install
Note: If you already have
bash
orzsh
, you may get an error.
- In that case, back up
/etc/zshrc
etc. according to the error message.- After running
$ just nix-uninstall
, run$ just nix-install
again.
$ just nix-apply
install nix-darwin
$ just nix-darwin-install