decoysnail: use new luks.devices syntax
This commit is contained in:
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";
|
||||
|
Loading…
Reference in New Issue
Block a user