Files
alo-cluster/common/unattended-encryption.nix

9 lines
185 B
Nix

{
boot.initrd.kernelModules = [ "usb_storage" ];
boot.initrd.luks.devices."luksroot" = {
allowDiscards = true;
bypassWorkqueues = true;
keyFileSize = 4096;
};
}