tv alnus: modernize luks config

This commit is contained in:
tv 2020-06-04 20:26:53 +02:00
parent 14fb6c5c55
commit 1561056234
1 changed files with 2 additions and 4 deletions

View File

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