Skip to content

Instantly share code, notes, and snippets.

@davegallant
Forked from martijnvermaat/nixos.md
Created May 2, 2021 17:50
Show Gist options
  • Save davegallant/510dee65f1d4705e1317fedb978435d7 to your computer and use it in GitHub Desktop.
Save davegallant/510dee65f1d4705e1317fedb978435d7 to your computer and use it in GitHub Desktop.
Installation of NixOS with encrypted root

Windows license: EULAID:T1C_2R_1_ED_CC_O_en-us

http://chris-martin.org/2015/installing-nixos

https://nixos.org/releases/nixos/16.03/nixos-16.03.678.2597f52/nixos-minimal-16.03.678.2597f52-x86_64-linux.iso

sudo dd bs=4M if=nixos-minimal-16.03.678.2597f52-x86_64-linux.iso of=/dev/sdb

Enable USB legacy boot (instead of or in addition to UEFI)

https://bugzilla.kernel.org/show_bug.cgi?id=110941

Boot with kernel parameter intel_pstate=no_hwp

Create /etc/wpa_supplicant.conf:

network={
  ssid="****"
  psk="****"
}

Then systemctl start wpa_supplicant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment