/nix-config

My nix config

Primary LanguageNixMIT LicenseMIT

My ~/.config/nix

Install Determinate Nix:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | \
  sh -s -- install --extra-conf "trusted-users = $(whoami)"

Clone repository:

mkdir -p ~/.config && git clone git@github.com:messense/nix-config.git ~/.config/nix

Activating nix-darwin config on first time use:

nix run nix-darwin --extra-experimental-features "nix-command flakes" -- switch --flake ~/.config/nix

Rebuild system configuration after making changes:

darwin-rebuild switch --flake ~/.config/nix