Home environment setup, powered by Nix and home-manager.
- Install Nix:
$ sh <(curl -L https://nixos.org/nix/install) --daemon
- Enable Nix Flakes:
$ mkdir -p ~/.config/nix $ cat <<EOF >> ~/.config/nix/nix.conf experimental-features = nix-command flakes EOF $ sudo launchctl kickstart -k system/org.nixos.nix-daemon
- Install Make in your nix profile:
$ nix-env -iA nixpkgs.gnumake
- Clone this repo:
$ git clone https://github.com/rur/home-manager.git && cd home-manager
- Run the flake and activate your env
$ make <machine>
- Then you can update dependencies:
$ make <machine>-update
- You can also remove the config (revert dotfiles manually):
$ make <machine>-remove