- Encrypt everthing including /boot and /root
- Enter password once
- Support UEFI
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
#!/bin/bash | |
id=$(grep "$1" /etc/pve/.rrd | cut -d'/' -f 2 | cut -d':' -f 1) | |
[[ "$id" == '' ]] && echo "The specified LXC does not exist." && exit 1 | |
node=$(grep "^\"$id\":" /etc/pve/.vmlist | cut -d'"' -f 6) | |
[[ $(hostname) != "$node" ]] && pre="ssh -t $node " | |
echo "Entering LXC $id on node $node..." | |
${pre}pct enter $id |
These are my notes on instaling NixOS 16.03 on a Lenovo ThinkPad X1 Carbon (4th generation) with an encrypted root file system using UEFI.
Most of this is scrambled from the following pages: