essentialsoftware.md: things learned from Arch Linux

This commit is contained in:
Aminda Suomalainen 2024-08-10 09:17:52 +03:00
parent 9083d465fb
commit 129be9b4d4
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -23,7 +23,8 @@ _{{ page.excerpt }}_
- [Usability](#usability) - [Usability](#usability)
- [Offtopic system configuration](#offtopic-system-configuration) - [Offtopic system configuration](#offtopic-system-configuration)
- [Debian-based](#debian-based) - [Debian-based](#debian-based)
- [Terminus everywhere outside of Debian](#terminus-everywhere-outside-of-debian) - [Terminus on Fedora](#terminus-on-fedora)
- [Terminus on Arch Linux](#terminus-on-arch-linux)
- [SSD](#ssd) - [SSD](#ssd)
- [BTRFS](#btrfs) - [BTRFS](#btrfs)
@ -37,10 +38,13 @@ _{{ page.excerpt }}_
- `microcode` - propietary, but otherwise CPU holes are going to be gaping open. - `microcode` - propietary, but otherwise CPU holes are going to be gaping open.
Refer to `tail -n +1 /sys/devices/system/cpu/vulnerabilities/*` Refer to `tail -n +1 /sys/devices/system/cpu/vulnerabilities/*`
- Debian calls this as `amd64-microcode` or `intel-microcode` - Debian calls this as `amd64-microcode` or `intel-microcode`
- `ufw` for Deb-based or `firewalld` on Fedora - Arch knows them as `amd-ucode` or `intel-ucode`
- `ufw` for Deb-based or `firewalld` on Fedora (and Kali and Arch Linux, if you
so choose in the last)
- `sshguard` for mitigating shared systems where others refuse to use keys - `sshguard` for mitigating shared systems where others refuse to use keys
- `needrestart` for knowing when updates actually require services to be - `needrestart` for knowing when updates actually require services to be
restarted or a kernel upgrade happens and requires reboot restarted or a kernel upgrade happens and requires reboot
- Arch users may prefer `checkservices` from `archlinux-contrib`
- `molly-guard` so you won't accidentally `reboot` or `poweroff` production - `molly-guard` so you won't accidentally `reboot` or `poweroff` production
rather than local machine. rather than local machine.
- `apt-listchanges` changelogs are worth knowing when updating. - `apt-listchanges` changelogs are worth knowing when updating.
@ -62,9 +66,9 @@ _{{ page.excerpt }}_
## Usability ## Usability
- `nvim git tmux zsh` - good luck without these - `nvim git tmux zsh` - good luck without these
- if cryptographic operations are taking ages, consider something like - <del>if cryptographic operations are taking ages, consider something like
`haveged`. It's controversial, so if there are no issues, don't install a `haveged`. It's controversial, so if there are no issues, don't install a
random number generator. random number generator.</del>
- userspace oom killer, may avoid frozen systems, much more pleasant than - userspace oom killer, may avoid frozen systems, much more pleasant than
actually having to deal with a frozen system. actually having to deal with a frozen system.
- `earlyoom` - `earlyoom`
@ -95,7 +99,7 @@ issue):
- `sudo dpkg-reconfigure keyboard-configuration` - `sudo dpkg-reconfigure keyboard-configuration`
- compose key - compose key
#### Terminus everywhere outside of Debian #### Terminus on Fedora
After installing the package, adjust `/etc/vconsole.conf` e.g.: After installing the package, adjust `/etc/vconsole.conf` e.g.:
@ -106,6 +110,10 @@ FONT="ter-v16v"
Maybe `sudo updatedb` and `locate ter-v16v` at first though? Maybe `sudo updatedb` and `locate ter-v16v` at first though?
#### Terminus on Arch Linux
See Fedora, but change the `FONT` to `"ter-132b"` instead.
### SSD ### SSD
- `sudo systemctl enable --now fstrim.timer` - `sudo systemctl enable --now fstrim.timer`
@ -118,7 +126,7 @@ Maybe `sudo updatedb` and `locate ter-v16v` at first though?
### BTRFS ### BTRFS
- The above applies, `/etc/fstab` must have `noatime`. - The above applies, `/etc/fstab` **_must have_** `noatime`.
- `compress=zstd:0` may be helpful. It enables zstd compression, which is an - `compress=zstd:0` may be helpful. It enables zstd compression, which is an
integrated feature of BTRFS, with the default compression level (3 at the time integrated feature of BTRFS, with the default compression level (3 at the time
of writing). The BTRFS devs are most likely wiser than me and can provide a of writing). The BTRFS devs are most likely wiser than me and can provide a