Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 673 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 673 Bytes

dotfiles

This is how I manage my workstations. Currently using nix (and nix-darwin).

Install

  1. Install nix (daemon mode): sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume --daemon
  2. Install nix-darwin:
    • nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer
    • ./result/bin/darwin-installer
  3. Add home-manager channel:
    • nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
    • nix-channel --update
  4. Link ./darwin/configuration.nix to ~/.nixpkgs/darwin-configuration.nix
  5. Run darwin-rebuild switch