Skip to content

Instantly share code, notes, and snippets.

# to install with full disk encryption and more than 1 partition, you need to either
* enter your password for each encrypted partition (also your disk layout is transparent)
* install a helper to enter a single password multiple times
* put all the partitions into LVM and decrypt once (at the cost of more abstraction layers)
with EFI + GRUB + LVM on a big LUKS on /dev/sda, these are the steps:
1. partition with a small (~300MB ESP partition for EFI) as /dev/sda1, and a large LUKS partition as /dev/sda2
2. encrypt /dev/sda2
`cryptsetup -v --type luks --iter-time 5000 --verify-passphrase luksFormat /dev/sda2`
--iter-time increases iterations of pbkdf2, to increase security at the cost of time
@Waltibaba
Waltibaba / gist:28741f08b12696bc291cbdcb3a2c748f
Created November 8, 2022 07:12
pipewire configs: default device & echo cancel
~/.config/pipewire/pipewire.conf.d/10-bt-headphones-default.conf
===========
context.properties = [
default.configured.audio.sink = { "name": "bluez_output.AC_12_2F_24_80_86.1" }
]
===========
~/.config/pipewire/pipewire.conf.d/20-echo-cancel.conf
===========
context.modules = [
{ name = libpipewire-module-echo-cancel