Change to systemd stage 1
This commit is contained in:
parent
8a205202bf
commit
9f8e9ddccc
|
@ -32,15 +32,16 @@
|
|||
};
|
||||
## Encryption
|
||||
# Kernel modules needed for mounting USB VFAT devices in initrd stage
|
||||
boot.initrd.kernelModules = [ "usb_storage" ];
|
||||
boot.initrd.systemd.enable = true;
|
||||
boot.initrd.luks.devices = {
|
||||
root = {
|
||||
# keyFile = "/dev/disk/by-id/usb-090c___B1608112001295-0:0";
|
||||
# keyFileSize = 4096;
|
||||
fallbackToPassword = true;
|
||||
device = "/dev/disk/by-uuid/7c6e40a8-900b-4f85-9712-2b872caf1892";
|
||||
preLVM = true;
|
||||
allowDiscards = true;
|
||||
|
||||
crypttabExtraOpts = [
|
||||
"fido2-device=auto"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue