Darwin

Updated: September 28, 2024

Install Darwin + Home Manager + Nix

This will guide to getting started.


Table of Contents


Resources

Nix

The first thing we need to do is install Nix Pakage Manager from determinate systems.
It can be cleanly uninstalled and starts with flakes enabled.

# this will install nix
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install

Keep in mind that we will not be using this package manager to imperatively install Nix packages.
So we will not be using the nix-env command, it defeats the purpose of nix tbh.

# check that nix is installed
nix --version

# see where nix is installed
type nix

Flake

The second thing we need to do is create a flake and place it in a git repository. This will us to version control our changes, and allow it to be pulled to other systems.

#