Clone and:
ln -s ~/code/github.com/matoous/nix-home ~/.config/home-manager
Home manager can't set default user shell. After install one needs to manually add fish shell to echo '/Users/matousdzivjak/.nix-profile/bin/fish' >> /etc/shells
and then update the current users default shell using chsh -s /Users/matousdzivjak/.nix-profile/bin/fish
.
Add key to keychain on MacOS:
ssh-add --apple-use-keychain ~/.ssh/[your-private-key]
- Using Nix on macOS by Stephen Checkoway
- Some notes on using nix by Julia Evans
- Some notes on nix flakes by Julia Evans
- Some notes on NixOS by Julia Evans
- Using Nix to install Go tools for VS Code by Michael Maclean
- Nix MacOS Setup
- Setting up a development environment with Nix and Home Manager
- Tutorial: Getting started with Home Manager for Nix
- Declarative macOS Configuration Using nix-darwin And home-manager