my dotfiles for develop environment powered by rcm and brewdler.
- clone this repository.
git clone [email protected]:akiomik/dotfiles.git ~/.dotfiles
- install rcm.
brew tap thoughtbot/formulae
brew install rcm
- create symlinks.
env RCRC=$HOME/.dotfiles/rcrc rcup
- install brewdler.
gem install brewdler
- generate
Brewfile
.
cd ~/.dotfiles
homebrew/brew2brewfile.sh
- install homebrew packages.
brewdle install
- Clone this repository:
git clone [email protected]:akiomik/dotfiles.git ~/.dotfiles
- Install
nix
via nix-installer:
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | \
sh -s -- install
- Because of conflicting
/etc/nix/nix.conf
with nix-darwin's, back-up it:
sudo mv /etc/nix/nix.conf /etc/nix/nix.conf.before-nix-darwin
- Apply nix-darwin (and install
darwin-rebuild
)
nix --extra-experimental-features "flakes nix-command" \
run nix-darwin -- switch --flake ~/.dotfiles
After run the above command, you can use darwin-rebuild
instead of nix run nix-darwin
:
darwin-rebuild switch --flake ~/.dotfiles