Skip to content

Instantly share code, notes, and snippets.

Avatar

Ladinu Chandrasinghe ladinu

  • Oracle
  • Portland, Oregon
View GitHub Profile
@ladinu
ladinu / encryptedNixos.md
Last active May 9, 2021
NixOS install with encrypted /boot /root with single password unlock
View encryptedNixos.md

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