decoysnail: use new luks.devices syntax

This commit is contained in:
Gabriel Ebner 2020-06-15 09:23:25 +02:00
parent 5147ecfd8c
commit 1fe4d168a7

@ -15,14 +15,13 @@
issue_discards = 1
}
'';
boot.initrd.luks.devices = [
{
name = "sda_crypt";
boot.initrd.luks.devices = {
sda_crypt = {
device = "/dev/disk/by-partuuid/00292928-0088-4887-9e5d-2f2eccb4816f";
preLVM = true;
allowDiscards = true;
}
];
};
};
networking = {
hostName = "decoysnail";