Skip to content

Instantly share code, notes, and snippets.

View nickryand's full-sized avatar

Nick Downs nickryand

View GitHub Profile
@nickryand
nickryand / encryptedNixos.md
Created February 9, 2022 07:41 — forked from ladinu/encryptedNixos.md
NixOS install with encrypted /boot /root with single password unlock

Requirements

  1. Encrypt everthing including /boot and /root
  2. Enter password once
  3. Support UEFI

Installation media setup

Download NixOS minimal iso and copy to USB stick. For example on Mac OSX

$ diskutil list
$ diskutil unmountDisk /dev/disk1 # Make sure you got right device