Configuration files for macOS
-
Install Nix (Lix)
curl -sSf -L https://install.lix.systems/lix | sh -s -- install
-
Clone the repository into
~/.dotfiles
:git clone --recurse-submodules [email protected]:pastc/dotfiles.git ~/.dotfiles
-
Run the
link.sh
script:~/.dotfiles/link.sh
-
Install
nix-darwin
:Instead of using darwin-installer, you can just run darwin-rebuild switch to install nix-darwin. As darwin-rebuild won't be installed in your PATH yet, you can use the following command:
nix run nix-darwin -- switch --flake ~/.config/nix-darwin
-
Run the
rebuild.sh
script:~/.dotfiles/rebuild.sh
This repository is licensed under the Apache License 2.0