Skip to content

Instantly share code, notes, and snippets.

View jan-zezula's full-sized avatar

Jan Zezula jan-zezula

View GitHub Profile
@jan-zezula
jan-zezula / Omarchy_SB_TPM2_Auto-Unlock.md
Created August 30, 2026 19:09
Secure Boot + TPM2 Auto-Unlock on Omarchy 4.0.x

Step-by-step guide for enabling Secure Boot with TPM2-based automatic LUKS unlock on a fresh Omarchy 4.0.x installation (Limine bootloader, Btrfs, Snapper).

Prerequisites

  • Fresh Omarchy 4.0.x installed on a laptop with TPM2
  • UEFI Secure Boot switched to Setup Mode (in BIOS settings)
  • LUKS2-encrypted root partition (Omarchy default)
  • Physical access to the laptop with working internet, browser and terminal