Skip to main content

Post-Install

WiFi

Might want to use iwd instead of wpa-supplicant if more stable. Update /etc/NetworkManager/NetworkManager.conf:

[device]
wifi.backend=iwd

For WiFi, we might want regulatory info. Install wireless-regdb for regulatory database.

For iwd, place into /etc/iwd/main.conf:

[General]
Country=CH

[Scan]
DisablePeriodicScan=true

[Roam]
RoamThreshold=-80
RoamThreshold5G=-85

Play with roaming thresholds if we get random disconnects on train.

SSD TRIM

Might want to enable SSD TRIM for performance.

First, persistently enable it for LUKS2:

sudo cryptsetup --allow-discards --persistent refresh cryptvol

Then, enable the fstrim.timer service, which will run it weekly (part of util-linux).

Also see:

Disable workqueue (LUKS/SSD)

See here, as well as ArchWiki.

sudo cryptsetup --perf-no_read_workqueue --perf-no_write_workqueue --persistent refresh cryptvol

Note that this overwrites all flags, so e.g. we should run the following if we also enable allow-discards.

sudo cryptsetup --allow-discards --perf-no_read_workqueue --perf-no_write_workqueue --persistent refresh cryptvol

AUR

Install yay.

Also update /etc/makepkg.conf to remove debug from OPTIONS. Otherwise, we always install some debug packages.

Electron

Add to /etc/environment:

ELECTRON_OZONE_PLATFORM_HINT=auto
QT_QPA_PLATFORM=wayland
ANKI_WAYLAND=1

Also install qt6-wayland.

reflector

pacman -S reflector
systemctl enable reflector.timer

Also add Switzerland to /etc/xdg/reflector/reflector.conf.

dotfiles

Follow docs here.

chsh -s $(which zsh)

Now reboot.

paccache

Install pacman-contrib.

Run systemctl enable paccache.timer.