Inhji.de

Linux Postinstall

I'm starting by copying an arch installation onto a usb stick. Once booted I will setup wifi first.

iwctl station wlan0 scan
iwctl station wlan0 connect WIFI_NAME

Then I use the archinstall command to start the installer. Make sure that you set the network option to copy the current connection. Otherwise you might end up with no connection.

After the installer is done, remember to chroot into the new installation and install at least kitty, hyprland, git and firefox, so we can download and install the rest of the stuff and check some docs if we need to.

Install AUR Helper

A lot of packages I need are in the aur, so it's good to do this as soon as possible

git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

Dotfiles & Applications

git clone https://codeberg.org/inhji/dotfiles .dotfiles

My dotfiles contain mostly stuff for my shell, a few scripts, and settings for different programs. They are based upon
dotbot by Anish Athalye, which I've been using for many years at this point.

.dotfiles/install

The postinstall script will install most packages that I need. Examples: Sublime Text & Merge, Librewolf, etc.
See the full list

.dotfiles/postinstall

I complete my shell setup by installing fisher plugins like z and pure prompt.

fisher update

SSH Key

Copy the ssh key from my NAS. I'm using one ssh key for most computers.

Sync(th)ing

I use Syncthing to keep Documents, Notes and Pictures synced with my Home
Server.

systemctl --user enable syncthing

Now setup the following folders:

  • ~/Documents/Documents.Sync
  • ~/Documents/Notes.Sync,
  • ~/Pictures/Pictures.Sync

Setup Browser

It's time to setup Firefox Sync and Bitwarden

  • Start Librewolf
  • Go to Settings and Enable Sync
  • Login to Vaultwarden Web UI to get Firefox Sync Password
  • Login to Firefox Sync and wait for all Extensions to download
  • Open Bitwarden Extension, set server to selfhosted and login
  • Open Bitwarden Settings and change Default URI Match Detection to Host