This is just my personal guide for keeping track of my configurations and facilitate setting up a new machine.
The TOC in this document is built with the Auto Markdown TOC VS Code extension.
Before installing the dotfiles it may be a good idea to install some of the things below.
Usually don't need to be install straight away.
- ๐ฅ TablePlus
- ๐ฌ Signal
- ๐ฝ Deckset1
- ๐ Keybase
- ๐ผ Office 3651
- ๐ป Visual Studio Code Don't forget to sync settings!
- ๐ฏ Postman
- ๐ Chrome
- ๐ Awesome Vimrc
To install:
<(curl -L https://nixos.org/nix/install)
nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer
./result/bin/darwin-installer
Assuming you checkout this repo in your $HOME
directory, you can run the following to symlink all the dotfiles:
cd dotfiles
./install_config.sh
.git
directory (and any other directory) is ignored.
Brew packages, casks and vscode plugins live in Brewfile
.
You can install them with
brew bundle --global
You can install optional completions by running:
./install_completions.sh
- To store GPG passphrases in the keychain, you need to run:
mkdir -p -m 0700 ~/.gnupg
echo "pinentry-program $(which pinentry-mac)" | tee ~/.gnupg/gpg-agent.conf
pkill -TERM gpg-agent
and restart the terminal session.
Next time you're asked for the passphrase, it will be stored in the keychain.
-
Make sure you import a valid GPG key, see also GPG, Github and Keybase guide.
-
Ensure the key and author details are actually used, by setting up
.gitconfig_personal
(not shared here)
[user]
name = "..."
email = "..."
signingkey = "..."
Fira Code
is a good monospace font for coding that supports ligatures. It can be installed using brew
(see above).
Further config might be required depending on the editor, see here for VSCode.
1 Requires license/subscription (but might also have a free plan)