General guidelines and philosophy

I’ll try to keep this as simple as possible to increase maintainability and troubleshooting, and minimize unexpected behavior.

Also, if I can keep something in the user space using Flatpaks without affecting usability, I’ll prefer that to reduce system clutter and increase security.

Devices

PC Master Race

  • OS: Amy OS
  • CPU: AMD Ryzen 5 3600
  • GPU: AMD Radeon RX 6800 16 GB
  • RAM: 32 GB (4 x Geil Super Luce 8 GB DDR4 3200MHz)
  • NVMe: 1 TB (2 x Adata XPG Spectrix S40G 512 GB)
  • Motherboard: ASUS TUF Gaming X570-PRO (Wi-Fi)
  • Mouse: Logitech G305
  • Keyboard: HyperX Alloy Origins Core (with Razer Pink PBT keycaps)
  • Headphones: Audio-Technica ATH-M50x (with a FiiO BTA10) and Sony Inzone H9

Raspberry Pi 4 Model B

Apple MacBook Air M1 2020

Samsung Galaxy S22 Ultra

BIOS config

  • Restore defaults
  • Set RAM to 3200MHz
  • Enable Resizable Bar
  • Enable virtualization
  • Enable Secure Boot
  • Disable CSM
  • Customize fans speed to maximize silence

Specific for Fedora

Speedy encryption on NVMe Devices

sudo nvim /etc/crypttab
  • Add these flags:
discard,no-read-workqueue,no-write-workqueue
  • And regenerate the initramfs with:
sudo dracut -f --regenerate-all

DNF tweaks

  • Add this:
sudo nvim /etc/dnf/dnf.conf
fastestmirror=True
max_parallel_downloads=10

Add RPM Fusion repos

sudo dnf in https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Update system

sudo dnf up

Tip: You can install only the most important updates with:

sudo dnf up-min

Specific for Amy OS

Speedy encryption on NVMe Devices

sudo nvim /etc/crypttab
  • Add these flags:
discard,no-read-workqueue,no-write-workqueue
sudo dmsetup table

sudo cryptsetup --allow-discards --perf-no_read_workqueue --perf-no_write_workqueue --persistent refresh luks-blablabla

For all distros

Steam tweaks

  • Enable Steam Play in Steam settings
  • Set launch options (per game) to:
gamemoderun %command%

CS2

  • Launch options:
gamemoderun %command% -vulkan -novid -fullscreen

Sonic Adventure

https://gamebanana.com/tuts/16934

Git

git config --global color.ui true

git config --global user.name "astrovm"

git config --global user.email "[email protected]"

ssh-keygen -t ed25519 -C "[email protected]"

cat ~/.ssh/id_ed25519.pub
git config --global user.signingkey CC39C6D77BDF0053

git config --global commit.gpgsign true

Brave/Chromium extensions

GNOME extensions

NetworkManager randomize

(Amy OS default config)

sudo nvim /etc/NetworkManager/conf.d/99-randomize-mac-address.conf
[device-mac-randomization]
wifi.scan-rand-mac-address=yes

[connection-mac-randomization]
ethernet.cloned-mac-address=random
wifi.cloned-mac-address=random
sudo systemctl restart NetworkManager