Skip to content

walkah/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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