Symlink dotfiles from nixos/user/
to your home directory. Once nix-home
is working we can use that instead.
The files in the repository are not hidden, so you'll need to symlink them to actual "dot" files:
ln -s dotfiles/nixos/user/bash_profile ~/.bash_profile
Using keybase, login and add a new device:
keybase login
keybase pgp export --secret | gpg --allow-secret-key-import --import
(For reference: https://iwader.co.uk/post/signing-git-commits-keybase-gpg-key)
For each system, generate a set of SSH keys for each remote system you need to access, like this:
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519_<remote> -C "<host>:<remote>"
Configure ~/.ssh/config
to specify which identity file to use for each remote:
AddKeysToAgent yes
Host <remote>
IdentitiesOnly yes
IdentityFile ~/.ssh/id_ed25519_<remote>