From 129be9b4d46d53f192086918851b772c9acc5026 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sat, 10 Aug 2024 09:17:52 +0300 Subject: [PATCH] essentialsoftware.md: things learned from Arch Linux --- n/essentialsoftware.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/n/essentialsoftware.md b/n/essentialsoftware.md index 0a56ba4..4b91005 100644 --- a/n/essentialsoftware.md +++ b/n/essentialsoftware.md @@ -23,7 +23,8 @@ _{{ page.excerpt }}_ - [Usability](#usability) - [Offtopic system configuration](#offtopic-system-configuration) - [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) - [BTRFS](#btrfs) @@ -37,10 +38,13 @@ _{{ page.excerpt }}_ - `microcode` - propietary, but otherwise CPU holes are going to be gaping open. Refer to `tail -n +1 /sys/devices/system/cpu/vulnerabilities/*` - 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 - `needrestart` for knowing when updates actually require services to be 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 rather than local machine. - `apt-listchanges` changelogs are worth knowing when updating. @@ -62,9 +66,9 @@ _{{ page.excerpt }}_ ## Usability - `nvim git tmux zsh` - good luck without these -- if cryptographic operations are taking ages, consider something like +- if cryptographic operations are taking ages, consider something like `haveged`. It's controversial, so if there are no issues, don't install a - random number generator. + random number generator. - userspace oom killer, may avoid frozen systems, much more pleasant than actually having to deal with a frozen system. - `earlyoom` @@ -95,7 +99,7 @@ issue): - `sudo dpkg-reconfigure keyboard-configuration` - compose key -#### Terminus everywhere outside of Debian +#### Terminus on Fedora 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? +#### Terminus on Arch Linux + +See Fedora, but change the `FONT` to `"ter-132b"` instead. + ### SSD - `sudo systemctl enable --now fstrim.timer` @@ -118,7 +126,7 @@ Maybe `sudo updatedb` and `locate ter-v16v` at first though? ### 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 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