nix-config
My Nix / nix-darwin / Home Manager config.
Use
darwin-rebuild switch --flake .
- Install Brew
- Install Nix
- Generate ssh key
- Generate gpg key:
gpg --gen-key
- Export key to
keyserver.ubuntu.com
- Import key on another machine with this
git-crypt add-gpg-user
on another machine- Install nix-darwin
- Pull this repo into
~/.nixpkgs
nix-shell -p gnupg git-crypt
git-crypt unlock
- Follow manual steps to symlink & refresh nix channels
Manual steps that still need to be taken care of manually when making changes
ln -s ~/.nixpkgs/.nix-channels ~/.nix-channels
- Refresh channels (
nix-channel --update
, might need adding the channels to be tracked first). - iterm - move plist file to
~/Library/Preferences/com.googlecode.iterm2