summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Debian.md74
-rw-r--r--MacOS.md72
-rw-r--r--README.md43
-rw-r--r--TailOS.md33
4 files changed, 78 insertions, 144 deletions
diff --git a/Debian.md b/Debian.md
index a88f1d3..aa7fdd7 100644
--- a/Debian.md
+++ b/Debian.md
@@ -1,10 +1,8 @@
-# ParrotOS
-```bash
-# Allow ssh into the machine
-curl https://meta.sr.ht/~a14m.keys > ~/.ssh/authorized_keys
-sudo ln -sf ~/.rc/etc/ssh/sshd_config /etc/ssh/sshd_config
-sudo systemctl enable ssh
+# Extras
+
+## ParrotOS
+```bash
# Setup extra PenTools
## SecLists
git clone https://github.com/danielmiessler/SecLists.git ~/SecLists
@@ -27,44 +25,38 @@ sudo apt install ffuf -y
## dotdotpwn.pl
git clone https://github.com/wireghoul/dotdotpwn.git ~/dotdotpwn
sudo mv ~/dotdotpwn /opt/
-
-## Thefuck
-sudo pip3 install thefuck
```
-# Extras :
-## Essentials
-- Add missing dependencies
-```bash
-sudo apt remove neovim -y
-sudo apt update -y
-sudo apt upgrade -y
-sudo reboot
-sudo apt install scdaemon vim htop tmux pass pass-extension-otp git-crypt pinentry-tty -y
-git clone https://git.sr.ht/~a14m/.rc ~/.rc
-ln -sf ~/.rc/.bashrc ~/.bashrc
+## TailsOS
-sudo ln -sf /usr/bin/pinentry-tty /usr/local/bin/pinentry-tty
-sudo ln -sf /usr/bin/pinentry-curses /usr/local/bin/pinentry-curses
-ln -sf ~/.rc/.gnupg/gpg.conf ~/.gnupg/gpg.conf
-```
+## GPG restore smart key
-- Configure rc files
```bash
-ln -sf ~/.rc/.editorconfig ~/.editorconfig
-ln -sf ~/.rc/.inputrc ~/.inputrc
-ln -sf ~/.rc/.screenrc ~/.screenrc
-ln -sf ~/.rc/.tmux.conf ~/.tmux.conf
-
-ln -sf ~/.rc/.gitconfig ~/.gitconfig
-ln -sf ~/.rc/.gitconfig.work.inc ~/.gitconfig.work.inc
-ln -sf ~/.rc/.gitignore_global ~/.gitignore_global
-
-mkdir -p ~/.ssh
-
-mkdir -p ~/.config/htop
-ln -sf ~/.rc/.config/htop/htoprc ~/.config/htop/htoprc
-cd ~/.rc
-git remote remove origin
-git remote add origin [email protected]:~a14m/.rc
+$ zbarcam -1 --raw > key.asc
+$ gpg --import key.asc
+$ gpg --edit-key --expert <key_id>
+gpg> trust
+gpg> keytocard
+Really move the primary key? (y/N) y
+Please select where to store the key:
+ (1) Signature key
+ (3) Authentication key
+Your selection? 1
+...
+gpg> key 1
+gpg> keytocard
+Please select where to store the key:
+ (2) Encryption key
+Your selection? 2
+...
+gpg> key 1
+gpg> key 2
+gpg> keytocard
+Please select where to store the key:
+ (3) Authentication key
+Your selection? 3
+...
+
+gpg> quit
+Save changes? (y/N) y
```
diff --git a/MacOS.md b/MacOS.md
index a66d664..4768142 100644
--- a/MacOS.md
+++ b/MacOS.md
@@ -1,4 +1,4 @@
-# RC: [RUNCOM](https://en.wikipedia.org/wiki/RUNCOM)
+# MacOS
## Prerequisites
@@ -14,61 +14,22 @@ brew tap Homebrew/bundle
brew bundle
```
-## Installation
+### Extras
-### Essentials
-
-```bash
-cd ~/.rc
-stow --no-folding .
-git remote set-url origin [email protected]:~a14m/.rc
-```
-
-### GPG smart key
-
-GPG setup
-
-```bash
-mkdir -p ~/.gnupg
-chmod 700 ~/.gnupg
-sudo ln -sf ~/.rc/.gnupg/pinentry-wrapper /usr/local/bin/pinentry-wrapper
-ln -sf ~/.rc/.gnupg/gpg-agent.conf ~/.gnupg/gpg-agent.conf
-ln -sf ~/.rc/.gnupg/sshcontrol ~/.gnupg/sshcontrol
-
-gpg-connect-agent killagent /bye
-gpg-connect-agent updatestartuptty /bye
-gpg-connect-agent /bye
-gpgconf --kill all
-```
-
-Load pgp key from card and trust it
-
-```bash
-gpg --edit-card
-> fetch
-
-gpg --edit-key [email protected]
-> trust
-```
-
-### iTerm2 profiles
+#### iTerm2 profiles
```bash
mkdir -p ~/Library/Application\ Support/iTerm2/DynamicProfiles \
&& cp ~/.config/iterm2/profiles.json ~/Library/Application\ Support/iTerm2/DynamicProfiles/
```
-### MacOS (extras)
-
-Set `Bash` shell as default
+#### `Bash` shell as default
```bash
sudo bash -c 'echo $(brew --prefix)/bin/bash >> /etc/shells'
chsh -s $(brew --prefix)/bin/bash
```
-### Languages
-
#### Setup ruby/rbenv
```bash
@@ -101,31 +62,6 @@ nvm install
nvm alias default
```
-### Tools
-
-#### Git Crypt
-
-```bash
-brew install git-crypt
-source ~/.bash_profile
-cd ~/.rc
-git-crypt unlock
-```
-
-#### Setup password store
-
-```bash
-git clone [email protected]:a14m/.pass ~/.password-store
-```
-
-#### [vim](https://git.sr.ht/~a14m/.vim)
-
-```bash
-git clone [email protected]:~a14m/.vim ~/.vim
-ln -sf ~/.vim/.vimrc ~/.vimrc
-vim +PlugInstall
-```
-
#### Mutt email/links browser
```bash
diff --git a/README.md b/README.md
index d8f4518..0f6d95e 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,46 @@
# RC: [RUNCOM](https://en.wikipedia.org/wiki/RUNCOM)
-Various RC configurations for different distros:
+## Installation
+
+### Prerequisites
+
+- stow
+- homebrew (on MacOS)
+
+### Essentials
+
+```bash
+git clone https://git.sr.ht/~a14m/.rc
+cd ~/.rc
+stow --no-folding .
+git remote set-url origin [email protected]:~a14m/.rc
+```
+
+Extra configurations for different distro families:
- [MacOS](./MacOS.md)<br>
-- [TailOS](./TailOS.md)<br>
- [Debian](./Debian.md)<br>
+
+### Complementary tools
+
+#### Setup password store
+
+```bash
+git clone [email protected]:a14m/.pass ~/.password-store
+```
+
+#### [vim](https://git.sr.ht/~a14m/.vim)
+
+```bash
+git clone [email protected]:~a14m/.vim ~/.vim
+ln -sf ~/.vim/.vimrc ~/.vimrc
+vim +PlugInstall
+```
+
+#### Git Crypt
+
+```bash
+brew install git-crypt
+cd ~/.rc
+git-crypt unlock
+```
diff --git a/TailOS.md b/TailOS.md
deleted file mode 100644
index 4989887..0000000
--- a/TailOS.md
+++ /dev/null
@@ -1,33 +0,0 @@
-# TailsOS
-
-## GPG restore smart key
-
-```bash
-$ zbarcam -1 --raw > key.asc
-$ gpg --import key.asc
-$ gpg --edit-key --expert <key_id>
-gpg> trust
-gpg> keytocard
-Really move the primary key? (y/N) y
-Please select where to store the key:
- (1) Signature key
- (3) Authentication key
-Your selection? 1
-...
-gpg> key 1
-gpg> keytocard
-Please select where to store the key:
- (2) Encryption key
-Your selection? 2
-...
-gpg> key 1
-gpg> key 2
-gpg> keytocard
-Please select where to store the key:
- (3) Authentication key
-Your selection? 3
-...
-
-gpg> quit
-Save changes? (y/N) y
-```