These are my nix-darwin and home-manager configurations for my work and personal computers.
Inspired by kriswill/dotfiles
- Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"- Install Determinate Nix Installer:
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --determinate- Clone repo:
mkdir -p ~/src
git clone https://github.com/tlehman/dotfiles ~/src/tlehman/dotfiles
cd ~/src/tlehman/dotfiles- Move determinate's nix.conf out of the way:
sudo mv /etc/nix/nix.conf /etc/nix/nix.conf.before-nix-darwin- Install (nix-darwin)
nix --extra-experimental-features "nix-command flakes" run nix-darwin -- switch --flake .- Updates
When you make changes to your dotfiles, you can update your system by running:
A1. There exists an ~/Archive/Notes/ directory A1.2 AMER-Tobi-Lehman will have separate notes from bender (work and personal data kept separate)