Skip to content

Instantly share code, notes, and snippets.

View ladinu's full-sized avatar

Ladinu Chandrasinghe ladinu

  • Oracle
  • Portland, Oregon
View GitHub Profile
@ladinu
ladinu / encryptedNixos.md
Last active March 1, 2024 07:19
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