silence warning from #63103 in encrypted-devices.nix

This commit is contained in:
Benjamin Herr 2020-02-18 20:58:40 -08:00
parent 8130f3c1c2
commit 0f5acc5ebe

View File

@ -65,7 +65,7 @@ in
boot.initrd = {
luks = {
devices =
map (dev: { name = dev.encrypted.label; device = dev.encrypted.blkDev; } ) keylessEncDevs;
builtins.listToAttrs (map (dev: { name = dev.encrypted.label; value = { device = dev.encrypted.blkDev; }; }) keylessEncDevs);
forceLuksSupportInInitrd = true;
};
postMountCommands =