#+SETUPFILE: ../../../template/level-2.org
#+TITLE: System Installs 2021-12-26
#+DATE: <2021-12-26 Sun>
#+AUTHOR: vaeringjar
#+EMAIL: vaeringjar@land
#+DESCRIPTION: Reinstalling all systems
#+KEYWORDS:


WIP


* Summary

Every so often I reinstall everything. I have several baremetal
systems, mostly running Debian, specifically bullseye amd64. This
should really all just happen with ansible, or it would be nice to
migrate back to guix, but I haven't made it that far yet.


* apt packages

** main

#+BEGIN_SRC bash
apt install     \
build-essential \
cowsay          \
curl            \
emacs           \
fortune-mod     \
git             \
gnupg           \
pandoc          \
pass            \
rsync           \
screen          \
shellcheck      \
tree            \
vim             \
;
#+END_SRC


** mailco

#+BEGIN_SRC bash
apt install     \
abook           \
irssi           \
isync           \
msmtp           \
mutt            \
notmuch         \
;
#+END_SRC


** all others

#+BEGIN_SRC bash
apt install     \
firefox         \
gimp            \
hedgewars       \
libreoffice     \
openconnect     \
qtpass          \
remmina         \
vlc             \
;
#+END_SRC


* manual config

** sudo

The usual change for adding the main account as a sudo user:

su
/usr/sbin/usermod -aG sudo <USERNAME>


** lightdm

Some systems/distros need this added:

[SeatDefaults]
allow-guest=false
greeter-hide-users=true
greeter-show-manual-login=true


** gpg

gpg needs to reload keys

#+BEGIN_SRC bash
gpg --import < ~/.gnupg/pubring.gpg
gpg --import < ~/.gnupg/secring.gpg
#+END_SRC


** ssh

Almost everything needs to have permissions set to 600 for my
purposes, aside from the directory itself which gets 700.


* pub dotfiles

manually:

- bashrc
- starship config
- emacs

mkdir ~/.starship &&
cp ./src/starship/config.toml ~/.starship/config.toml

my dotfiles have a bug when comparing the diffs for the emacs.d
subdirs.


* binaries

- starship :: sh -c "$(curl -fsSL https://starship.rs/install.sh)"


* todo

- pyenv
- poetry
- npm
- docker
- docker-compose
- firefox/icecat
