Skip to content

Instantly share code, notes, and snippets.

View kahlstrm's full-sized avatar

Kalle Ahlström kahlstrm

View GitHub Profile

NixOS NAS drives setup

My guide for setup of NixOS with LVM on multiple device LUKS on mdadm:

  1. mdadm for RAID 1:

    • for system and data physical volumes,
    • you can use RAID5 or other levels, based on needs,
  2. LUKS for device encryption: