Skip to content

Set Up Nix

Platforms

NixDots works on a variety of platforms. Follow the respective guides for obtaining those if you haven’t already. It is recommended to install Home Manager on any of the listed operating systems.

Install NixOS for the most integrated experience.

Enable flakes

NixDots heavily relies on Nix flakes to provide most of its features. These aren’t enabled by default on most Nix environments, so it’s recommended but not required to set them up before proceding.

configuration.nix
nix.settings.experimental-features = [ "nix-command" "flakes" ];

Clone the Git repository

NixDots uses Git to keep track of versions. Clone the repository into an accessible location.

  1. Fetch the Git repository.

    Terminal window
    git clone https://github.com/brckd/nixdots
  2. Enter the cloned repository for all future instructions.

    Terminal window
    cd nixdots

Further reading