Skip to content

Instantly share code, notes, and snippets.

View ladinu's full-sized avatar

Ladinu Chandrasinghe ladinu

  • Trumid
  • Portland, Oregon
View GitHub Profile
@ladinu
ladinu / encryptedNixos.md
Last active September 25, 2024 18:21
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