ma sda-crypto-root: add notes for formatting the harddrive

This commit is contained in:
makefu 2017-08-16 12:16:39 +02:00
parent 512869d4e3
commit 94bec25995
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -4,6 +4,12 @@
# sda1: boot ext4 (label nixboot) - must be unlocked on boot if required:
# boot.initrd.luks.devices = [ { name = "luksroot"; device = "/dev/sda2"; allowDiscards=true; }];
# sda2: cryptoluks -> ext4
# fdisk /dev/sda
# boot 500M
# rest rest
# cryptsetup luksFormat /dev/sda2
#
with import <stockholm/lib>;
{
boot = {