Skip to content

Commit

Permalink
silence warning from NixOS#63103 in encrypted-devices.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
ben0x539 committed Feb 19, 2020
1 parent 8130f3c commit 0f5acc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/tasks/encrypted-devices.nix
Expand Up @@ -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 =
Expand Down

0 comments on commit 0f5acc5

Please sign in to comment.