DrRuisseau / nix-config-1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nix-config

My Nix / nix-darwin / Home Manager config.

Use

darwin-rebuild switch --flake .

First time?

  1. Install Brew
  2. Install Nix
  3. Generate ssh key
  4. Generate gpg key: gpg --gen-key
  5. Export key to keyserver.ubuntu.com
  6. Import key on another machine with this
  7. git-crypt add-gpg-user on another machine
  8. Install nix-darwin
  9. Pull this repo into ~/.nixpkgs
  10. nix-shell -p gnupg git-crypt
  11. git-crypt unlock
  12. 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

About

License:Other


Languages

Language:Nix 59.5%Language:Shell 40.2%Language:Scala 0.3%