Change to systemd stage 1

This commit is contained in:
Natsu Kagami 2022-12-01 14:56:40 +01:00
parent 8a205202bf
commit 9f8e9ddccc
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51

View file

@ -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"
];
};
};