Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 600 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 600 Bytes

Install NIX

$ sh <(curl -L https://nixos.org/nix/install)

# Ref: https://nixos.org/download.html#nix-install-macos

nix-darwin

$ nix --extra-experimental-features 'nix-command flakes' \
  run nix-darwin -- switch --flake ~/.dotfiles#user

Useful script

$ nix-channel --update
$ nix-collect-garbage -d
$ sudo nix-store --verify --repair --check-contents

$ nix-build -E 'with import <nixpkgs> { }; callPackage ./package.nix { }'

References