Skip to content

Instantly share code, notes, and snippets.

@Videl
Videl / encrypted-zfs-nixos.org
Created June 20, 2021 11:41 — forked from mbbx6spp/encrypted-zfs-nixos.org
Encrypted ZFS for NixOS (WIP)

Encrypted ZFS for NixOS

Assumptions

We will have add one partition to a zpool.

You have the following set to appropriate values:

  • disk: the path for your disk device, e.g. /dev/sdb or /dev/nvme0
  • efi: the path for the EFI boot partition’s device, e.g. /dev/sdb1
  • part: the path to the partition of your root filesystem, e.g. /dev/sdb2