-
Install Nix
sh <(curl -L https://nixos.org/nix/install)
mkdir ~/.config/nix echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
-
Clone nixos-config repo
nix-env -iA nixpkgs.git git clone https://github.com/mccurdyc/nixos-config ~/.config/nixos-config cd ~/.config/nixos-config
-
Rebuild
sudo NIXPKGS_ALLOW_UNFREE=1 \ HOME=/var/root NIX_SSL_CERT_FILE=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt \ nix build --extra-experimental-features 'nix-command flakes' --impure '.#darwinConfigurations.faamac.system'
Activate
export NIXPKGS_ALLOW_UNFREE=1; /result/sw/bin/darwin-rebuild switch --impure --flake '.#faamac' rm -rf result
-
Start tailscale daemon
sudo tailscaled install-system-daemon tailscale login
NIXPKGS_ALLOW_UNFREE=1 darwin-rebuild switch --impure --flake '.#faamac'
- GUI Apps - LnL7/nix-darwin#139 (comment)