Skip to content

Instantly share code, notes, and snippets.

View jinjinir's full-sized avatar

Daryl Galvez jinjinir

  • Philippines
View GitHub Profile
@jinjinir
jinjinir / encryptedNixos.md
Created December 13, 2020 08:17 — 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
@jinjinir
jinjinir / nixos.md
Created December 13, 2020 08:17 — forked from martijnvermaat/nixos.md
Installation of NixOS with encrypted root