tv nomic: modernize luks config

This commit is contained in:
tv 2020-06-04 18:00:21 +02:00
parent 09c8cddd46
commit 670f6ac480

View File

@ -17,9 +17,7 @@ with import <stockholm/lib>;
boot.initrd.luks = { boot.initrd.luks = {
cryptoModules = [ "aes" "sha512" "xts" ]; cryptoModules = [ "aes" "sha512" "xts" ];
devices = [ devices.luks1.device = "/dev/sda2";
{ name = "luks1"; device = "/dev/sda2"; }
];
}; };
# Don't use UEFI because current disk was partitioned/formatted for AO753. # Don't use UEFI because current disk was partitioned/formatted for AO753.