These files live at ~/.config/nix
on my system.
darwin-rebuild switch --flake .
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update
nix flake update
I use https://cs.github.com to look around at configurations folks have generously open sourced. Below is a non-exhaustive list of helpful resources
- https://nixcademy.com/2024/01/15/nix-on-macos/
- https://davi.sh/til/nix/nix-macos-setup/
- https://github.com/mhanberg/.dotfiles/blob/73c03c941077e31d6e95336ac7973ad1a770b331/nix-darwin/flake.nix
- https://github.com/bphenriques/dotfiles/blob/0c73e2577b17960014526711d41a685a8b52c824/home/config/terminal/fzf/default.nix#L6
- https://flaky.build/native-fix-for-applications-hiding-under-the-macbook-pro-notch
- https://github.com/maxbrunet/dotfiles/
- https://github.com/malob/nixpkgs
- https://github.com/milogert/dotfiles-1/blob/925236213c09d19c091878b6f7070f90f99952fc/hosts/_common/darwin/tmux.nix
- https://www.josean.com/posts/sketchybar-setup
- https://martinheinz.dev/blog/110
- https://github.com/davish/setup/