# RC: [RUNCOM](https://en.wikipedia.org/wiki/RUNCOM)
## Installation
### Prerequisites
- stow
- homebrew (on MacOS)
### Essentials
```bash
git clone https://git.sr.ht/~a14m/.rc ~/.rc
~/.rc/install.sh
```
Extra configurations for different distro families:
- [MacOS](./MacOS.md)
- [Debian](./Debian.md)
### Complementary tools
#### Setup password store
```bash
git clone git@github.com:a14m/.pass ~/.password-store
```
#### [vim](https://git.sr.ht/~a14m/.vim)
```bash
git clone git@git.sr.ht:~a14m/.vim ~/.vim
ln -sf ~/.vim/.vimrc ~/.vimrc
vim +PlugInstall
```
#### Git Crypt
```bash
brew install git-crypt
cd ~/.rc
git-crypt unlock
```
### GPG
To rotate the GPG keys, after generating and backing up.
- Get the new gpg key ID with `gpg --list-keys `.
- Get the new gpg key grip with `gpg --list-keys --with-keygrip `
- Update the `.gitconfig` signing key:
- Update the GPG key in the password store `.gpg-id` file with
- Update the sshcontrol config file with the authentication key of
- Update git-crypt with the new key: `git-crypt add-gpg-user `