gentoo-legion/system/conf.d/dmcrypt.example
2026-01-24 20:47:35 -05:00

11 lines
330 B
Plaintext

# /etc/conf.d/dmcrypt - Encrypted swap configuration
#
# Encrypted swap with random key (no hibernate support)
# Key is regenerated each boot from /dev/urandom
#
# CUSTOMIZE: Set source to your swap partition
# Use 'lsblk' to identify your partitions
swap=cryptswap
source="<swap-partition>" # e.g., /dev/nvme0n1p2 or /dev/sda2