configs

Apps and configs I use (they are specific to my systems, be careful)

View the Project on GitHub astrolince/configs

configs

General guidelines and philosophy

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

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

PC Master Race

CPU: AMD Ryzen 5 3600

GPU 1: AMD Radeon RX 6800 16 GB

GPU 2: AMD Radeon RX 5600 XT 6 GB

RAM: 32 GB (4 x GeIL Super Luce 8 GB DDR4 3200MHz)

M2: ADATA XPG Spectrix S40G 512 GB

MB: ASUS TUF Gaming X570-Pro (Wi-Fi)

Lenovo ThinkPad E14 Gen 2

CPU: AMD Ryzen 5 4500U

RAM: 8 GB

M2: 256 GB

BIOS config

Specific for Debian Testing KDE

Edit /etc/apt/sources.list

$ sudo nano /etc/apt/sources.list

# See https://wiki.debian.org/SourcesList for more information.
deb http://deb.debian.org/debian testing main contrib non-free
deb-src http://deb.debian.org/debian testing main contrib non-free

deb http://deb.debian.org/debian testing-updates main contrib non-free
deb-src http://deb.debian.org/debian testing-updates main contrib non-free

deb http://security.debian.org/debian-security testing-security main contrib non-free
deb-src http://security.debian.org/debian-security testing-security main contrib non-free

$ sudo dpkg --add-architecture i386

$ sudo apt update

Install from repos

$ sudo apt install tmux libgl1-mesa-dri:i386 libglx-mesa0:i386 mesa-vulkan-drivers mesa-vulkan-drivers:i386 steam wireguard

Brave

Keybase

Specific for Fedora KDE

DNF tweaks

$ sudo nano /etc/dnf/dnf.conf

fastestmirror=True
deltarpm=True

Update system

$ sudo dnf update

Add RPM Fusion repos

$ sudo dnf install 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

$ sudo dnf groupupdate core

$ sudo dnf groupupdate multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin

$ sudo dnf groupupdate sound-and-video

Install from repos

$ sudo dnf install tmux @virtualization alacritty android-tools arc-theme aria2 audacity blender curl dnscrypt-proxy emacs exa firewall-config fish flatpak gamemode gawk gimp git gnupg2 gparted gzip kdenlive keepassxc kgpg krita libreoffice lutris nano neofetch neovim net-tools obs-studio p7zip p7zip-plugins qbittorrent qemu retroarch steam syncthing tor torsocks tree util-linux-user vim virt-manager vlc wget wine wine-mono winetricks wireguard-tools

Brave

Keybase

Specific for Manjaro KDE

Pacman tweaks

Regenerate the mirrors list with the fastest ones:

$ sudo pacman-mirrors --fasttrack

Update system

$ sudo pacman -Syyuu

Install from official repos

$ sudo pacman -Sy --needed tmux alacritty android-tools aria2 audacity base-devel blender brave code curl dnscrypt-proxy dnsmasq ebtables edk2-ovmf emacs exa fish flatpak gamemode gawk gimp git gnupg go-ipfs gparted gufw gzip kbfs kdenlive keepassxc keybase keybase-gui kgpg krita libreoffice-still libreoffice-still-es libvirt linux-latest linux-latest-headers linux-lts linux-lts-headers lutris nano neofetch neovim net-tools obs-studio p7zip python-neovim qbittorrent qemu retroarch steam syncthing tor torsocks tree vim virt-manager vlc wget wine wine-gecko wine-mono winetricks wireguard-dkms wireguard-tools xclip

For all distros:

Flatpaks

$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

$ flatpak install flathub com.discordapp.Discord com.github.micahflee.torbrowser-launcher com.github.vladimiry.ElectronMail com.leinardi.gst com.system76.Popsicle com.tutanota.Tutanota im.riot.Riot io.lbry.lbry-app net.jami.Jami org.jitsi.jitsi-meet org.signal.Signal org.telegram.desktop com.stremio.Stremio

Signal

Edit app to add --start-in-tray or --use-tray-icon in the end of the Exec command.

Steam tweaks

gamemoderun %command%

In some OpenGL games can be useful to add mesa_glthread=true at the beginning, and in some Vulkan/DirectX games can be useful to add RADV_PERFTEST=aco and/or DXVK_ASYNC=1(this last one is related to anti-cheats false positives, so don’t use it in online games to avoid bans).

Fish

$ nano ~/.bashrc

if [[ $- != *i* ]] ; then
	# Shell is non-interactive.  Be done now!
	return
fi

# keep this line at the bottom of ~/.bashrc
[ -x /bin/fish ] && SHELL=/bin/fish exec /bin/fish

$ set -U fish_greeting

$ fish_config

Keybase

$ keybase pgp export | gpg --import

$ keybase pgp export -s | gpg --allow-secret-key-import --import

Git

$ git config --global color.ui true

$ git config --global user.name "astrolince"

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

$ ssh-keygen -t rsa -b 4096 -C "[email protected]"

$ cat ~/.ssh/id_rsa.pub

Paste to https://github.com/settings/ssh.

$ git config --global user.signingkey CC39C6D77BDF0053

$ git config --global commit.gpgsign true

Brave Extensions

KeePassXC-Browser

ClearURLs

Decentraleyes

JSON Viewer

Privacy Settings

Vim

$ nano ~/.vimrc

set showmode
set autoindent
set tabstop=4
set expandtab
syntax on

NetworkManager randomize

$ sudo nano /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

DNS over HTTPS

$ sudo nano /etc/dnscrypt-proxy/dnscrypt-proxy.toml

# Empty listen_addresses to use systemd socket activation
listen_addresses = []
server_names = ['cloudflare']

[query_log]
  file = '/var/log/dnscrypt-proxy/query.log'

[nx_log]
  file = '/var/log/dnscrypt-proxy/nx.log'

[sources]
  [sources.'public-resolvers']
  url = 'https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md'
  cache_file = '/var/cache/dnscrypt-proxy/public-resolvers.md'
  minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
  refresh_delay = 72
  prefix = ''

$ sudo systemctl enable --now dnscrypt-proxy.socket

Change your connections DNS to 127.0.0.1.

Cloudflare Warp

Download wgcf.

$ ./wgcf register

$ ./wgcf generate

$ sudo cp wgcf-profile.conf /etc/wireguard

$ sudo nmcli connection import type wireguard file /etc/wireguard/wgcf-profile.conf

GNOME Extensions

Arc Menu

Bitcoin Markets

Caffeine

Clipboard Indicator

Dash to Dock

GameMode

GSConnect

Impatience

KStatusNotifierItem/AppIndicator Support

OpenWeather

Places Status Indicator

Sound Input & Output Device Chooser