nixos: finish bump to 20.03 including home-manager

This commit is contained in:
steveej 2020-06-10 20:40:15 +02:00
parent 6430cc374e
commit 0ca2cc885f
7 changed files with 20 additions and 32 deletions

View file

@ -39,7 +39,7 @@ in {
enableCryptodisk = true;
};
boot.initrd.luks.devices = [
boot.initrd.luks.devices = builtins.listToAttrs [
{
name =
let
@ -47,9 +47,11 @@ in {
lastelem = (builtins.length splitstring)-1;
in
builtins.elemAt splitstring lastelem;
device = (ownLib.disk.bootLuksDevice cfg.diskId);
preLVM = true;
allowDiscards = true;
value = {
device = (ownLib.disk.bootLuksDevice cfg.diskId);
preLVM = true;
allowDiscards = true;
};
}
];
};