tv alnus: modernize luks config

This commit is contained in:
tv 2020-06-04 20:26:53 +02:00
parent 14fb6c5c55
commit 1561056234

View file

@ -11,10 +11,8 @@ with import <stockholm/lib>;
boot = { boot = {
initrd = { initrd = {
availableKernelModules = [ "ahci" ]; availableKernelModules = [ "ahci" ];
luks = { luks.cryptoModules = [ "aes" "sha512" "xts" ];
cryptoModules = [ "aes" "sha512" "xts" ]; luks.devices.luksroot.devices = "/dev/sda2";
devices = [ { name = "luksroot"; device = "/dev/sda2"; } ];
};
}; };
}; };