Skip to content

Instantly share code, notes, and snippets.


Dustin dust321

  • North East
View GitHub Profile
dust321 /
Created Oct 13, 2020 — forked from lbrame/
Tweaks I've made to my Arch Linux installation

Arch Linux tweaks

This is a collection of the tweaks and modification I've made to my Arch Linux installation over the months. These may be applicable to other distros, but please check first before doing anything. I also included Arch Wiki references for all the procedures I mentioned. My recommendation is not to blindly follow this gist but to always check with the Arch Linux wiki first. Things move fast and by the time you're reading this my gist may be out of date. Lastly, the golden rule: never execute a command you don't understand.

Installing the KDE Plasma desktop

My current DE of choice is KDE's Plasma. I find it just about perfect.

There are various ways to install it on Arch. The most popular one is to install plasma and plasma-applications, but I don't like doing that because it comes with too many programs I'll never use. I, instead, install the base plasma group, remove the few extra packages that come with it, then I finish off by installing a few KDE apps that don't come with th

#Make sure the system is up to date.
sudo pacman -Syu --noconfirm
#Install dependency packages we'll need to build Pacaur on Arch.
sudo pacman -S binutils make gcc fakeroot expac yajl git --noconfirm
dust321 / wg-setup
Created Sep 2, 2019 — forked from lmlsna/wg-setup
Setup wireguard interface over ssh and return public key
View wg-setup
add-apt-repository ppa:wireguard/wireguard -y &>/dev/null
apt-get update &>/dev/null
if [[ "$(lsmod | grep wireguard)" -n ]]; then
export HAS_WG_MODULE=1
apt-get install wireguard-dkms -y &>/dev/null
modprobe wiregusrd
dust321 / nginx.conf
Created Mar 25, 2019 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here
View nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
View Minimum Arch install BIOS no encryption
fdisk or cfdisk /dev/sdX
mkfs.ext2 /dev/sdX1 #boot Max 500M
mkfs.ext4 /dev/sdX2 #root max 20Gig
mkfs.ext4 /dev/sdX3 #home the leftovers
mkswap /dev/sdX4
mount /dev/sdX2 /mnt
mkdir /mnt/boot
mkdir /mnt/home
mount /dev/sdX1 /boot
dust321 / arch-linux-install-encryption
Last active Oct 3, 2020 — forked from mattiaslundberg/arch-linux-install
Minimal instructions for installing Arch Linux on an DOS/BIOS system with full system encryption using dm-crypt and luks
View arch-linux-install-encryption
# Install ARCH Linux with encrypted file-system, for BIOS. Dustin dut n ex 5 a t g ma il
# The official installation guide ( contains a more verbose description.
# Download the archiso image from
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
You can’t perform that action at this time.