Merge pull request #80504 from ben0x539/encrypted-devices-loa-warning

silence warning from #63103 in encrypted-devices.nix
This commit is contained in:
Michele Guerini Rocco 2020-02-19 12:15:19 +01:00 committed by GitHub
commit d4c0e72071
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 =